@openreef/cli 0.1.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 (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +187 -0
  3. package/dist/commands/init.d.ts +8 -0
  4. package/dist/commands/init.d.ts.map +1 -0
  5. package/dist/commands/init.js +61 -0
  6. package/dist/commands/init.js.map +1 -0
  7. package/dist/commands/inspect.d.ts +2 -0
  8. package/dist/commands/inspect.d.ts.map +1 -0
  9. package/dist/commands/inspect.js +120 -0
  10. package/dist/commands/inspect.js.map +1 -0
  11. package/dist/commands/pack.d.ts +5 -0
  12. package/dist/commands/pack.d.ts.map +1 -0
  13. package/dist/commands/pack.js +43 -0
  14. package/dist/commands/pack.js.map +1 -0
  15. package/dist/commands/validate.d.ts +7 -0
  16. package/dist/commands/validate.d.ts.map +1 -0
  17. package/dist/commands/validate.js +77 -0
  18. package/dist/commands/validate.js.map +1 -0
  19. package/dist/core/manifest-loader.d.ts +7 -0
  20. package/dist/core/manifest-loader.d.ts.map +1 -0
  21. package/dist/core/manifest-loader.js +29 -0
  22. package/dist/core/manifest-loader.js.map +1 -0
  23. package/dist/core/packer.d.ts +6 -0
  24. package/dist/core/packer.d.ts.map +1 -0
  25. package/dist/core/packer.js +26 -0
  26. package/dist/core/packer.js.map +1 -0
  27. package/dist/core/schema-validator.d.ts +3 -0
  28. package/dist/core/schema-validator.d.ts.map +1 -0
  29. package/dist/core/schema-validator.js +35 -0
  30. package/dist/core/schema-validator.js.map +1 -0
  31. package/dist/core/structural-validator.d.ts +4 -0
  32. package/dist/core/structural-validator.d.ts.map +1 -0
  33. package/dist/core/structural-validator.js +134 -0
  34. package/dist/core/structural-validator.js.map +1 -0
  35. package/dist/core/template-interpolator.d.ts +2 -0
  36. package/dist/core/template-interpolator.d.ts.map +1 -0
  37. package/dist/core/template-interpolator.js +11 -0
  38. package/dist/core/template-interpolator.js.map +1 -0
  39. package/dist/core/variable-resolver.d.ts +12 -0
  40. package/dist/core/variable-resolver.d.ts.map +1 -0
  41. package/dist/core/variable-resolver.js +38 -0
  42. package/dist/core/variable-resolver.js.map +1 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +69 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/types/manifest.d.ts +75 -0
  48. package/dist/types/manifest.d.ts.map +1 -0
  49. package/dist/types/manifest.js +2 -0
  50. package/dist/types/manifest.js.map +1 -0
  51. package/dist/types/platform.d.ts +29 -0
  52. package/dist/types/platform.d.ts.map +1 -0
  53. package/dist/types/platform.js +2 -0
  54. package/dist/types/platform.js.map +1 -0
  55. package/dist/types/validation.d.ts +12 -0
  56. package/dist/types/validation.d.ts.map +1 -0
  57. package/dist/types/validation.js +2 -0
  58. package/dist/types/validation.js.map +1 -0
  59. package/dist/utils/fs.d.ts +5 -0
  60. package/dist/utils/fs.d.ts.map +1 -0
  61. package/dist/utils/fs.js +60 -0
  62. package/dist/utils/fs.js.map +1 -0
  63. package/dist/utils/output.d.ts +11 -0
  64. package/dist/utils/output.d.ts.map +1 -0
  65. package/dist/utils/output.js +31 -0
  66. package/dist/utils/output.js.map +1 -0
  67. package/dist/utils/paths.d.ts +3 -0
  68. package/dist/utils/paths.d.ts.map +1 -0
  69. package/dist/utils/paths.js +14 -0
  70. package/dist/utils/paths.js.map +1 -0
  71. package/package.json +53 -0
  72. package/schema/reef.schema.json +306 -0
  73. package/template/.env.example +3 -0
  74. package/template/README.md +48 -0
  75. package/template/agents/manager/IDENTITY.md +6 -0
  76. package/template/agents/manager/SOUL.md +29 -0
  77. package/template/agents/manager/knowledge/dynamic/.gitkeep +0 -0
  78. package/template/agents/manager/knowledge/static/project-brief.md +17 -0
  79. package/template/agents/researcher/SOUL.md +30 -0
  80. package/template/agents/researcher/knowledge/dynamic/.gitkeep +0 -0
  81. package/template/agents/researcher/knowledge/static/.gitkeep +0 -0
  82. package/template/reef.json +88 -0
  83. package/template/reef.lock.json +4 -0
@@ -0,0 +1,88 @@
1
+ {
2
+ "reef": "1.0",
3
+ "type": "team",
4
+ "name": "my-formation",
5
+ "version": "0.1.0",
6
+ "description": "TODO: Describe what your formation does",
7
+ "author": "TODO: Your name or organization",
8
+ "namespace": "my-formation",
9
+ "variables": {
10
+ "OPENAI_API_KEY": {
11
+ "type": "string",
12
+ "description": "OpenAI API key for LLM calls",
13
+ "required": true,
14
+ "sensitive": true
15
+ },
16
+ "MISSION_GOAL": {
17
+ "type": "string",
18
+ "description": "Primary mission for the agent team",
19
+ "default": "Research",
20
+ "required": false,
21
+ "sensitive": false
22
+ }
23
+ },
24
+ "agents": {
25
+ "manager": {
26
+ "source": "agents/manager",
27
+ "description": "Coordinates the team, delegates tasks, and synthesizes results",
28
+ "role": "coordinator",
29
+ "model": "gpt-4o",
30
+ "tools": {
31
+ "allow": ["web-search", "file-read"]
32
+ },
33
+ "sandbox": {
34
+ "network": true,
35
+ "filesystem": "restricted"
36
+ }
37
+ },
38
+ "researcher": {
39
+ "source": "agents/researcher",
40
+ "description": "Conducts deep research on assigned topics and reports findings",
41
+ "role": "researcher",
42
+ "model": "gpt-4o",
43
+ "tools": {
44
+ "allow": ["web-search"]
45
+ },
46
+ "sandbox": {
47
+ "network": true,
48
+ "filesystem": "restricted"
49
+ }
50
+ }
51
+ },
52
+ "agentToAgent": {
53
+ "manager": ["researcher"],
54
+ "researcher": ["manager"]
55
+ },
56
+ "cron": [
57
+ {
58
+ "schedule": "0 9 * * 1-5",
59
+ "agent": "manager",
60
+ "prompt": "Review progress on the current mission and plan today's priorities.",
61
+ "timezone": "UTC"
62
+ }
63
+ ],
64
+ "dependencies": {
65
+ "skills": {
66
+ "web-search": "^1.0.0",
67
+ "file-read": "^1.0.0"
68
+ },
69
+ "services": [
70
+ {
71
+ "name": "OpenAI API",
72
+ "url": "https://platform.openai.com",
73
+ "required": true,
74
+ "description": "LLM provider for all agents"
75
+ }
76
+ ]
77
+ },
78
+ "validation": {
79
+ "agent_exists": true,
80
+ "file_exists": true,
81
+ "binding_active": true,
82
+ "cron_exists": true,
83
+ "agent_responds": {
84
+ "enabled": false,
85
+ "timeout": 30
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_comment": "Lockfile - pins exact skill versions for supply-chain safety",
3
+ "skills": {}
4
+ }