@untitled-devs/wasla 0.1.3 → 1.0.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 (60) hide show
  1. package/README.md +14 -15
  2. package/dist/{utils → apps/cli/src}/cli-output.d.ts +1 -1
  3. package/dist/{cli → apps/cli/src}/commands/config.js +2 -2
  4. package/dist/{cli → apps/cli/src}/commands/install.js +2 -2
  5. package/dist/{cli → apps/cli/src}/commands/register.js +5 -5
  6. package/dist/{cli → apps/cli/src}/commands/status.js +6 -6
  7. package/dist/{cli → apps/cli/src}/commands/sync-to.js +5 -5
  8. package/dist/{cli → apps/cli/src}/commands/sync.js +5 -5
  9. package/dist/{cli → apps/cli/src}/commands/watch.js +6 -6
  10. package/dist/{cli → apps/cli/src}/index.js +19 -7
  11. package/dist/{cli/commands/visualizer.d.ts → apps/cli/src/server/visualizer-server.d.ts} +0 -1
  12. package/dist/{cli/commands/visualizer.js → apps/cli/src/server/visualizer-server.js} +85 -31
  13. package/dist/{adapters → packages/adapters/src}/base.d.ts +1 -1
  14. package/dist/{adapters → packages/adapters/src}/claude.d.ts +1 -1
  15. package/dist/{adapters → packages/adapters/src}/claude.js +2 -2
  16. package/dist/{adapters → packages/adapters/src}/cursor.d.ts +1 -1
  17. package/dist/{adapters → packages/adapters/src}/cursor.js +2 -2
  18. package/dist/{adapters → packages/adapters/src}/factory.d.ts +1 -1
  19. package/dist/{adapters → packages/adapters/src}/gemini.d.ts +1 -1
  20. package/dist/{adapters → packages/adapters/src}/gemini.js +2 -2
  21. package/dist/{adapters → packages/adapters/src}/github-copilot-cli.d.ts +1 -1
  22. package/dist/{adapters → packages/adapters/src}/github-copilot-cli.js +2 -2
  23. package/dist/{adapters → packages/adapters/src}/github-copilot.d.ts +1 -1
  24. package/dist/{adapters → packages/adapters/src}/github-copilot.js +2 -2
  25. package/dist/{adapters → packages/adapters/src}/openclaw.d.ts +1 -1
  26. package/dist/{adapters → packages/adapters/src}/openclaw.js +2 -2
  27. package/dist/{adapters → packages/adapters/src}/opencode.d.ts +1 -1
  28. package/dist/{adapters → packages/adapters/src}/opencode.js +2 -2
  29. package/dist/{core → packages/core/src}/registry.d.ts +1 -1
  30. package/dist/{core → packages/core/src}/registry.js +2 -2
  31. package/dist/{core → packages/core/src}/visualizer-types.d.ts +8 -0
  32. package/dist/{syncer → packages/sync/src}/index.d.ts +3 -3
  33. package/dist/{syncer → packages/sync/src}/index.js +4 -4
  34. package/dist/{core → packages/sync/src}/scanner.d.ts +1 -1
  35. package/dist/{core → packages/sync/src}/scanner.js +3 -3
  36. package/dist/visualizer/assets/index-cU_xphSj.js +144 -0
  37. package/{src/visualizer/dist → dist/visualizer}/index.html +1 -1
  38. package/package.json +73 -62
  39. package/src/visualizer/dist/assets/index-C6aJB2Yl.js +0 -144
  40. /package/dist/{utils → apps/cli/src}/cli-output.js +0 -0
  41. /package/dist/{cli → apps/cli/src}/commands/config.d.ts +0 -0
  42. /package/dist/{cli → apps/cli/src}/commands/install.d.ts +0 -0
  43. /package/dist/{cli → apps/cli/src}/commands/register.d.ts +0 -0
  44. /package/dist/{cli → apps/cli/src}/commands/status.d.ts +0 -0
  45. /package/dist/{cli → apps/cli/src}/commands/sync-to.d.ts +0 -0
  46. /package/dist/{cli → apps/cli/src}/commands/sync.d.ts +0 -0
  47. /package/dist/{cli → apps/cli/src}/commands/watch.d.ts +0 -0
  48. /package/dist/{cli → apps/cli/src}/index.d.ts +0 -0
  49. /package/dist/{adapters → packages/adapters/src}/base.js +0 -0
  50. /package/dist/{adapters → packages/adapters/src}/factory.js +0 -0
  51. /package/dist/{core → packages/core/src}/types.d.ts +0 -0
  52. /package/dist/{core → packages/core/src}/types.js +0 -0
  53. /package/dist/{core → packages/core/src}/visualizer-types.js +0 -0
  54. /package/dist/{utils → packages/shared/src}/config.d.ts +0 -0
  55. /package/dist/{utils → packages/shared/src}/config.js +0 -0
  56. /package/dist/{utils → packages/shared/src}/fs.d.ts +0 -0
  57. /package/dist/{utils → packages/shared/src}/fs.js +0 -0
  58. /package/dist/{utils → packages/shared/src}/paths.d.ts +0 -0
  59. /package/dist/{utils → packages/shared/src}/paths.js +0 -0
  60. /package/{src/visualizer/dist → dist/visualizer}/logo.png +0 -0
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Wasla Genie Visualizer</title>
7
- <script type="module" crossorigin src="/assets/index-C6aJB2Yl.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-cU_xphSj.js"></script>
8
8
  </head>
9
9
  <body>
10
10
  <div id="root"></div>
package/package.json CHANGED
@@ -1,66 +1,77 @@
1
1
  {
2
2
  "name": "@untitled-devs/wasla",
3
- "version": "0.1.3",
3
+ "version": "1.0.0",
4
4
  "description": "Universal synchronization layer for AI agent orchestrators",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/The-Untitled-Org/wasla-genie.git"
8
+ },
5
9
  "type": "module",
6
- "main": "dist/cli/index.js",
10
+ "main": "dist/apps/cli/src/index.js",
7
11
  "bin": {
8
- "waslagenie": "dist/cli/index.js"
12
+ "waslagenie": "dist/apps/cli/src/index.js"
13
+ },
14
+ "imports": {
15
+ "#adapters/*": "./dist/packages/adapters/src/*",
16
+ "#cli/*": "./dist/apps/cli/src/*",
17
+ "#core/*": "./dist/packages/core/src/*",
18
+ "#shared/*": "./dist/packages/shared/src/*",
19
+ "#sync/*": "./dist/packages/sync/src/*"
9
20
  },
10
21
  "files": [
11
- "dist",
12
- "src/visualizer/dist"
22
+ "dist"
13
23
  ],
14
24
  "scripts": {
15
- "prepublishOnly": "npm run visualizer:build && npm run build",
16
- "build": "npm run check && node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc",
17
- "postbuild": "node -e \"require('fs').chmodSync('dist/cli/index.js', 0o755)\"",
25
+ "prepublishOnly": "npm run build",
26
+ "build": "npm run visualizer:build && npm run build:cli",
27
+ "build:cli": "npm run check && node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc && node -e \"require('fs').cpSync('apps/visualizer/dist', 'dist/visualizer', { recursive: true })\"",
28
+ "postbuild": "node -e \"require('fs').chmodSync('dist/apps/cli/src/index.js', 0o755)\"",
18
29
  "dev": "tsc --watch",
19
- "start": "node dist/cli/index.js",
20
- "sync": "npm run build && node dist/cli/index.js sync",
21
- "watch": "npm run build && node dist/cli/index.js watch",
22
- "sync:claude:gemini": "npm run build && node dist/cli/index.js sync-to --from claude --to gemini",
23
- "sync:claude:openclaw": "npm run build && node dist/cli/index.js sync-to --from claude --to openclaw",
24
- "sync:claude:opencode": "npm run build && node dist/cli/index.js sync-to --from claude --to opencode",
25
- "sync:claude:cursor": "npm run build && node dist/cli/index.js sync-to --from claude --to cursor",
26
- "sync:claude:github-copilot": "npm run build && node dist/cli/index.js sync-to --from claude --to github-copilot",
27
- "sync:claude:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from claude --to github-copilot-cli",
28
- "sync:gemini:claude": "npm run build && node dist/cli/index.js sync-to --from gemini --to claude",
29
- "sync:gemini:openclaw": "npm run build && node dist/cli/index.js sync-to --from gemini --to openclaw",
30
- "sync:gemini:opencode": "npm run build && node dist/cli/index.js sync-to --from gemini --to opencode",
31
- "sync:gemini:cursor": "npm run build && node dist/cli/index.js sync-to --from gemini --to cursor",
32
- "sync:gemini:github-copilot": "npm run build && node dist/cli/index.js sync-to --from gemini --to github-copilot",
33
- "sync:gemini:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from gemini --to github-copilot-cli",
34
- "sync:openclaw:claude": "npm run build && node dist/cli/index.js sync-to --from openclaw --to claude",
35
- "sync:openclaw:gemini": "npm run build && node dist/cli/index.js sync-to --from openclaw --to gemini",
36
- "sync:openclaw:opencode": "npm run build && node dist/cli/index.js sync-to --from openclaw --to opencode",
37
- "sync:openclaw:cursor": "npm run build && node dist/cli/index.js sync-to --from openclaw --to cursor",
38
- "sync:openclaw:github-copilot": "npm run build && node dist/cli/index.js sync-to --from openclaw --to github-copilot",
39
- "sync:openclaw:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from openclaw --to github-copilot-cli",
40
- "sync:opencode:claude": "npm run build && node dist/cli/index.js sync-to --from opencode --to claude",
41
- "sync:opencode:gemini": "npm run build && node dist/cli/index.js sync-to --from opencode --to gemini",
42
- "sync:opencode:openclaw": "npm run build && node dist/cli/index.js sync-to --from opencode --to openclaw",
43
- "sync:opencode:cursor": "npm run build && node dist/cli/index.js sync-to --from opencode --to cursor",
44
- "sync:opencode:github-copilot": "npm run build && node dist/cli/index.js sync-to --from opencode --to github-copilot",
45
- "sync:opencode:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from opencode --to github-copilot-cli",
46
- "sync:cursor:claude": "npm run build && node dist/cli/index.js sync-to --from cursor --to claude",
47
- "sync:cursor:gemini": "npm run build && node dist/cli/index.js sync-to --from cursor --to gemini",
48
- "sync:cursor:openclaw": "npm run build && node dist/cli/index.js sync-to --from cursor --to openclaw",
49
- "sync:cursor:opencode": "npm run build && node dist/cli/index.js sync-to --from cursor --to opencode",
50
- "sync:cursor:github-copilot": "npm run build && node dist/cli/index.js sync-to --from cursor --to github-copilot",
51
- "sync:cursor:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from cursor --to github-copilot-cli",
52
- "sync:github-copilot:claude": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to claude",
53
- "sync:github-copilot:gemini": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to gemini",
54
- "sync:github-copilot:openclaw": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to openclaw",
55
- "sync:github-copilot:opencode": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to opencode",
56
- "sync:github-copilot:cursor": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to cursor",
57
- "sync:github-copilot:github-copilot-cli": "npm run build && node dist/cli/index.js sync-to --from github-copilot --to github-copilot-cli",
58
- "sync:github-copilot-cli:claude": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to claude",
59
- "sync:github-copilot-cli:gemini": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to gemini",
60
- "sync:github-copilot-cli:openclaw": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to openclaw",
61
- "sync:github-copilot-cli:opencode": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to opencode",
62
- "sync:github-copilot-cli:cursor": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to cursor",
63
- "sync:github-copilot-cli:github-copilot": "npm run build && node dist/cli/index.js sync-to --from github-copilot-cli --to github-copilot",
30
+ "start": "node dist/apps/cli/src/index.js",
31
+ "sync": "npm run build && node dist/apps/cli/src/index.js sync",
32
+ "watch": "npm run build && node dist/apps/cli/src/index.js watch",
33
+ "sync:claude:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to gemini",
34
+ "sync:claude:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to openclaw",
35
+ "sync:claude:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to opencode",
36
+ "sync:claude:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to cursor",
37
+ "sync:claude:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to github-copilot",
38
+ "sync:claude:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from claude --to github-copilot-cli",
39
+ "sync:gemini:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to claude",
40
+ "sync:gemini:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to openclaw",
41
+ "sync:gemini:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to opencode",
42
+ "sync:gemini:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to cursor",
43
+ "sync:gemini:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to github-copilot",
44
+ "sync:gemini:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from gemini --to github-copilot-cli",
45
+ "sync:openclaw:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to claude",
46
+ "sync:openclaw:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to gemini",
47
+ "sync:openclaw:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to opencode",
48
+ "sync:openclaw:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to cursor",
49
+ "sync:openclaw:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to github-copilot",
50
+ "sync:openclaw:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from openclaw --to github-copilot-cli",
51
+ "sync:opencode:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to claude",
52
+ "sync:opencode:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to gemini",
53
+ "sync:opencode:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to openclaw",
54
+ "sync:opencode:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to cursor",
55
+ "sync:opencode:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to github-copilot",
56
+ "sync:opencode:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from opencode --to github-copilot-cli",
57
+ "sync:cursor:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to claude",
58
+ "sync:cursor:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to gemini",
59
+ "sync:cursor:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to openclaw",
60
+ "sync:cursor:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to opencode",
61
+ "sync:cursor:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to github-copilot",
62
+ "sync:cursor:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from cursor --to github-copilot-cli",
63
+ "sync:github-copilot:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to claude",
64
+ "sync:github-copilot:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to gemini",
65
+ "sync:github-copilot:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to openclaw",
66
+ "sync:github-copilot:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to opencode",
67
+ "sync:github-copilot:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to cursor",
68
+ "sync:github-copilot:github-copilot-cli": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot --to github-copilot-cli",
69
+ "sync:github-copilot-cli:claude": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to claude",
70
+ "sync:github-copilot-cli:gemini": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to gemini",
71
+ "sync:github-copilot-cli:openclaw": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to openclaw",
72
+ "sync:github-copilot-cli:opencode": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to opencode",
73
+ "sync:github-copilot-cli:cursor": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to cursor",
74
+ "sync:github-copilot-cli:github-copilot": "npm run build && node dist/apps/cli/src/index.js sync-to --from github-copilot-cli --to github-copilot",
64
75
  "test": "vitest",
65
76
  "test:run": "vitest run",
66
77
  "test:watch": "vitest --watch",
@@ -72,19 +83,19 @@
72
83
  "docs": "cd docs && npm run start",
73
84
  "docs:install": "npm --prefix docs install",
74
85
  "docs:build": "cd docs && npm run build",
75
- "visualizer": "npm run visualizer:install && npm run visualizer:build && npm run build && node dist/cli/index.js visualizer",
86
+ "visualizer": "npm run visualizer:install && npm run build && node dist/apps/cli/src/index.js visualizer",
76
87
  "ui": "npm run visualizer",
77
- "visualizer:install": "npm --prefix src/visualizer install",
78
- "visualizer:dev": "npm --prefix src/visualizer run dev",
79
- "visualizer:build": "npm --prefix src/visualizer run build",
80
- "visualizer:preview": "npm --prefix src/visualizer run preview",
88
+ "visualizer:install": "npm --prefix apps/visualizer install",
89
+ "visualizer:dev": "npm --prefix apps/visualizer run dev",
90
+ "visualizer:build": "npm --prefix apps/visualizer run build",
91
+ "visualizer:preview": "npm --prefix apps/visualizer run preview",
81
92
  "lint": "tsc --noEmit",
82
93
  "lint:check": "tsc --noEmit",
83
- "lint:fix": "tsc --noEmit && prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
84
- "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \".prettierrc\"",
85
- "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \".prettierrc\"",
94
+ "lint:fix": "tsc --noEmit && prettier --write \"apps/cli/src/**/*.ts\" \"apps/visualizer/src/**/*.{ts,tsx}\" \"packages/**/*.ts\" \"tests/**/*.ts\"",
95
+ "format": "prettier --write \"apps/cli/src/**/*.ts\" \"apps/visualizer/src/**/*.{ts,tsx}\" \"packages/**/*.ts\" \"tests/**/*.ts\" \".prettierrc\"",
96
+ "format:check": "prettier --check \"apps/cli/src/**/*.ts\" \"apps/visualizer/src/**/*.{ts,tsx}\" \"packages/**/*.ts\" \"tests/**/*.ts\" \".prettierrc\"",
86
97
  "type:check": "tsc --noEmit",
87
- "type:fix": "tsc --noEmit && prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
98
+ "type:fix": "tsc --noEmit && prettier --write \"apps/cli/src/**/*.ts\" \"apps/visualizer/src/**/*.{ts,tsx}\" \"packages/**/*.ts\" \"tests/**/*.ts\"",
88
99
  "check": "npm run type:check && npm run format:check",
89
100
  "fix": "npm run format && npm run lint:fix",
90
101
  "changelog": "node scripts/release.mjs changelog",