@comma-agents/core 2.0.0-rc.0 → 2.0.0-rc.1

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 (75) hide show
  1. package/dist/agents/agent/agent.types.d.ts +2 -2
  2. package/dist/agents/loader/index.d.ts +2 -2
  3. package/dist/agents/loader/loader.d.ts +3 -5
  4. package/dist/agents/loader/loader.schema.d.ts +226 -13
  5. package/dist/agents/loader/loader.types.d.ts +9 -8
  6. package/dist/agents/registry/agent-registry.constants.d.ts +1 -0
  7. package/dist/agents/registry/agent-registry.d.ts +38 -0
  8. package/dist/agents/registry/agent-registry.types.d.ts +58 -0
  9. package/dist/agents/registry/index.d.ts +2 -0
  10. package/dist/credentials/backends/json-file.d.ts +1 -1
  11. package/dist/credentials/credentials.constants.d.ts +2 -0
  12. package/dist/credentials/credentials.utils.d.ts +0 -19
  13. package/dist/credentials/index.d.ts +1 -1
  14. package/dist/data-directory/data-directory.d.ts +11 -0
  15. package/dist/data-directory/index.d.ts +1 -0
  16. package/dist/defaults/defaults.d.ts +1 -1
  17. package/dist/flows/index.d.ts +2 -0
  18. package/dist/flows/loader/loader.schema.d.ts +2 -195
  19. package/dist/flows/loader/loader.utils.d.ts +5 -0
  20. package/dist/flows/registry/flow-registry.constants.d.ts +1 -0
  21. package/dist/flows/registry/flow-registry.d.ts +45 -0
  22. package/dist/flows/registry/flow-registry.types.d.ts +31 -0
  23. package/dist/flows/registry/index.d.ts +2 -0
  24. package/dist/hub/archive/archive.d.ts +2 -0
  25. package/dist/hub/archive/index.d.ts +1 -0
  26. package/dist/hub/comma-project.schema.json +171 -0
  27. package/dist/hub/hub.constants.d.ts +5 -0
  28. package/dist/hub/hub.d.ts +13 -0
  29. package/dist/hub/hub.schema.d.ts +1093 -0
  30. package/dist/hub/hub.types.d.ts +50 -0
  31. package/dist/hub/hub.utils.d.ts +3 -0
  32. package/dist/hub/index.d.ts +3 -0
  33. package/dist/hub/index.js +404 -0
  34. package/dist/hub/installed-packages/index.d.ts +2 -0
  35. package/dist/hub/installed-packages/installed-packages.d.ts +3 -0
  36. package/dist/hub/installed-packages/installed-packages.types.d.ts +14 -0
  37. package/dist/hub/package-installer/index.d.ts +2 -0
  38. package/dist/hub/package-installer/package-installer.d.ts +3 -0
  39. package/dist/hub/package-installer/package-installer.types.d.ts +11 -0
  40. package/dist/hub/registry-client/index.d.ts +2 -0
  41. package/dist/hub/registry-client/registry-client.d.ts +3 -0
  42. package/dist/hub/registry-client/registry-client.types.d.ts +10 -0
  43. package/dist/index.d.ts +13 -10
  44. package/dist/index.js +1386 -769
  45. package/dist/model/providers/catalog/catalog.utils.d.ts +2 -9
  46. package/dist/skills/skills.constants.d.ts +2 -2
  47. package/dist/skills/skills.types.d.ts +1 -1
  48. package/dist/skills/skills.utils.d.ts +0 -10
  49. package/dist/strategies/@comma/core-strategies/README.md +9 -0
  50. package/dist/strategies/@comma/core-strategies/build/build.json +69 -0
  51. package/dist/strategies/@comma/core-strategies/build/prompts/coder.md +56 -0
  52. package/dist/strategies/@comma/core-strategies/build/prompts/tester.md +39 -0
  53. package/dist/strategies/@comma/core-strategies/comma-project.json +49 -0
  54. package/dist/strategies/@comma/core-strategies/plan/plan.json +66 -0
  55. package/dist/strategies/@comma/core-strategies/plan/prompts/planner.md +59 -0
  56. package/dist/strategies/@comma/core-strategies/plan/prompts/reviewer.md +34 -0
  57. package/dist/strategies/@comma/core-strategies/qa.json +36 -0
  58. package/dist/strategies/@comma/core-strategies/reduce-complexity/reduce-complexity.jsonc +24 -0
  59. package/dist/strategies/@comma/core-strategies/standardize/manager.jsonc +54 -0
  60. package/dist/strategies/@comma/core-strategies/standardize/prompts/manager.md +278 -0
  61. package/dist/strategies/@comma/core-strategies/standardize/prompts/worker-auditor.md +131 -0
  62. package/dist/strategies/@comma/core-strategies/standardize/prompts/worker-reviewer.md +58 -0
  63. package/dist/strategies/@comma/core-strategies/standardize/worker.jsonc +69 -0
  64. package/dist/strategies/@comma/core-strategies/talk.json +42 -0
  65. package/dist/strategy/discover/discover.d.ts +10 -2
  66. package/dist/strategy/discover/discover.types.d.ts +6 -5
  67. package/dist/strategy/discover/discover.utils.d.ts +2 -13
  68. package/dist/strategy/discover/index.d.ts +1 -1
  69. package/dist/strategy/index.d.ts +3 -3
  70. package/dist/strategy/loader/loader.types.d.ts +2 -70
  71. package/dist/strategy/loader/loader.utils.d.ts +1 -8
  72. package/dist/strategy/loader/project-loader.d.ts +7 -1
  73. package/dist/strategy/schema.d.ts +154 -60
  74. package/dist/tools/built-in/list-strategy/list-strategy.d.ts +2 -2
  75. package/package.json +18 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comma-agents/core",
3
- "version": "2.0.0-rc.0",
3
+ "version": "2.0.0-rc.1",
4
4
  "description": "Core agent orchestration framework: agents, flows, hooks, and providers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,12 @@
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.js"
12
- }
12
+ },
13
+ "./hub": {
14
+ "types": "./dist/hub/index.d.ts",
15
+ "import": "./dist/hub/index.js"
16
+ },
17
+ "./hub/comma-project.schema.json": "./dist/hub/comma-project.schema.json"
13
18
  },
14
19
  "files": ["dist", "README.md", "LICENSE"],
15
20
  "scripts": {
@@ -25,14 +30,19 @@
25
30
  "ai": "6.0.91",
26
31
  "diff": "9.0.0",
27
32
  "liquidjs": "10.27.0",
33
+ "strip-json-comments": "5.0.3",
28
34
  "tar-stream": "3.2.0",
29
35
  "turndown": "7.2.4",
30
36
  "yaml": "2.8.3",
31
- "zod": "3.25.76",
32
- "strip-json-comments": "5.0.3"
37
+ "zod": "3.25.76"
38
+ },
39
+ "engines": {
40
+ "bun": ">=1.3.0"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public",
44
+ "tag": "next"
33
45
  },
34
- "engines": { "bun": ">=1.3.0" },
35
- "publishConfig": { "access": "public", "tag": "next" },
36
46
  "repository": {
37
47
  "type": "git",
38
48
  "url": "https://github.com/CloAI/CommaAgents.git",
@@ -43,6 +53,7 @@
43
53
  "devDependencies": {
44
54
  "@comma-agents/utils": "file:../utils",
45
55
  "@types/tar-stream": "^3.1.4",
46
- "@types/turndown": "5.0.6"
56
+ "@types/turndown": "5.0.6",
57
+ "zod-to-json-schema": "3.25.2"
47
58
  }
48
59
  }