@soleri/cli 1.0.0 → 1.0.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/dist/main.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleri/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Developer CLI for creating and managing Soleri AI agents.",
5
5
  "keywords": [
6
6
  "agent",
@@ -57,15 +57,17 @@ describe('create command', () => {
57
57
  expect(result.summary).toContain('already exists');
58
58
  });
59
59
 
60
- it('should create domain facades for each domain', () => {
60
+ it('should not create facade files (v5.0 uses runtime factories from @soleri/core)', () => {
61
61
  scaffold(testConfig);
62
62
 
63
- expect(existsSync(join(tempDir, 'test-agent', 'src', 'facades', 'testing.facade.ts'))).toBe(
64
- true,
65
- );
66
- expect(existsSync(join(tempDir, 'test-agent', 'src', 'facades', 'quality.facade.ts'))).toBe(
67
- true,
68
- );
63
+ // v5.0: facades are created at runtime by createDomainFacades() no generated files
64
+ expect(existsSync(join(tempDir, 'test-agent', 'src', 'facades'))).toBe(false);
65
+
66
+ // Entry point should reference createDomainFacades
67
+ const entry = readFileSync(join(tempDir, 'test-agent', 'src', 'index.ts'), 'utf-8');
68
+ expect(entry).toContain('createDomainFacades');
69
+ expect(entry).toContain('"testing"');
70
+ expect(entry).toContain('"quality"');
69
71
  });
70
72
 
71
73
  it('should create intelligence data files for each domain', () => {