@semiont/cli 0.1.0-build.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.
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "production",
3
+ "platform": {
4
+ "default": "aws"
5
+ },
6
+ "deployment": {
7
+ "imageTagStrategy": "immutable"
8
+ },
9
+ "env": {
10
+ "NODE_ENV": "production"
11
+ },
12
+ "aws": {
13
+ "region": "us-east-1",
14
+ "accountId": "YOUR_AWS_ACCOUNT_ID",
15
+ "hostedZoneId": "YOUR_HOSTED_ZONE_ID",
16
+ "certificateArn": "arn:aws:acm:REGION:ACCOUNT:certificate/YOUR_CERT_ID",
17
+ "profile": "default",
18
+ "stacks": {
19
+ "data": "SemiontDataStack",
20
+ "app": "SemiontAppStack"
21
+ }
22
+ },
23
+ "services": {
24
+ "backend": {
25
+ "image": "YOUR_AWS_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com/semiont-backend:latest"
26
+ },
27
+ "frontend": {
28
+ "image": "YOUR_AWS_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com/semiont-frontend:latest"
29
+ },
30
+ "database": {
31
+ "platform": {
32
+ "type": "aws"
33
+ },
34
+ "comment": "Provisioned via CDK data stack (RDS PostgreSQL)"
35
+ },
36
+ "filesystem": {
37
+ "platform": {
38
+ "type": "aws"
39
+ },
40
+ "comment": "Provisioned via CDK data stack (EFS)"
41
+ },
42
+ "graph": {
43
+ "platform": {
44
+ "type": "aws"
45
+ },
46
+ "type": "neptune",
47
+ "port": 8182,
48
+ "comment": "Provisioned via CDK data stack (Amazon Neptune)"
49
+ },
50
+ "mcp": {
51
+ "platform": {
52
+ "type": "posix"
53
+ },
54
+ "dependsOn": ["backend"]
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "staging",
3
+ "platform": {
4
+ "default": "aws"
5
+ },
6
+ "deployment": {
7
+ "imageTagStrategy": "immutable"
8
+ },
9
+ "env": {
10
+ "NODE_ENV": "production"
11
+ },
12
+ "aws": {
13
+ "region": "us-east-1",
14
+ "accountId": "YOUR_AWS_ACCOUNT_ID",
15
+ "hostedZoneId": "YOUR_HOSTED_ZONE_ID",
16
+ "certificateArn": "arn:aws:acm:REGION:ACCOUNT:certificate/YOUR_CERT_ID",
17
+ "profile": "default",
18
+ "stacks": {
19
+ "data": "SemiontDataStack-Staging",
20
+ "app": "SemiontAppStack-Staging"
21
+ }
22
+ },
23
+ "services": {
24
+ "backend": {
25
+ "image": "YOUR_AWS_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com/semiont-backend:staging"
26
+ },
27
+ "frontend": {
28
+ "image": "YOUR_AWS_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com/semiont-frontend:staging"
29
+ },
30
+ "database": {
31
+ "platform": {
32
+ "type": "aws"
33
+ },
34
+ "comment": "Provisioned via CDK data stack (RDS PostgreSQL)"
35
+ },
36
+ "filesystem": {
37
+ "platform": {
38
+ "type": "aws"
39
+ },
40
+ "comment": "Provisioned via CDK data stack (EFS)"
41
+ },
42
+ "mcp": {
43
+ "platform": {
44
+ "type": "posix"
45
+ },
46
+ "dependsOn": ["backend"]
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "test",
3
+ "site": {
4
+ "domain": "localhost",
5
+ "oauthAllowedDomains": ["example.com", "test.example.com"]
6
+ },
7
+ "platform": {
8
+ "default": "container"
9
+ },
10
+ "env": {
11
+ "NODE_ENV": "test"
12
+ },
13
+ "services": {
14
+ "backend": {
15
+ "platform": {
16
+ "type": "container"
17
+ },
18
+ "image": "semiont-backend:test",
19
+ "port": 4000,
20
+ "publicURL": "http://localhost:4000",
21
+ "corsOrigin": "http://localhost:3000"
22
+ },
23
+ "frontend": {
24
+ "platform": {
25
+ "type": "container"
26
+ },
27
+ "image": "semiont-frontend:test",
28
+ "port": 3000,
29
+ "url": "http://localhost:3000",
30
+ "siteName": "Test Site"
31
+ },
32
+ "filesystem": {
33
+ "platform": {
34
+ "type": "posix"
35
+ },
36
+ "path": "data",
37
+ "description": "Test filesystem storage"
38
+ },
39
+ "database": {
40
+ "platform": {
41
+ "type": "container"
42
+ },
43
+ "type": "postgres",
44
+ "host": "localhost",
45
+ "image": "postgres:15-alpine",
46
+ "name": "semiont-test-db",
47
+ "port": 5432,
48
+ "environment": {
49
+ "POSTGRES_DB": "semiont_test",
50
+ "POSTGRES_USER": "semiont",
51
+ "POSTGRES_PASSWORD": "testpass"
52
+ }
53
+ },
54
+ "mcp": {
55
+ "platform": {
56
+ "type": "posix"
57
+ },
58
+ "dependsOn": ["backend"]
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "services": {
3
+ "inference": {
4
+ "platform": {
5
+ "type": "external"
6
+ },
7
+ "type": "anthropic",
8
+ "model": "claude-3-haiku-20240307",
9
+ "maxTokens": 1000,
10
+ "endpoint": "https://api.anthropic.com/v1",
11
+ "apiKey": "${ANTHROPIC_API_KEY}"
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "services": {
3
+ "inference": {
4
+ "platform": {
5
+ "type": "external"
6
+ },
7
+ "type": "openai",
8
+ "model": "gpt-3.5-turbo",
9
+ "maxTokens": 1000,
10
+ "temperature": 0.7,
11
+ "endpoint": "https://api.openai.com/v1",
12
+ "apiKey": "${OPENAI_API_KEY}",
13
+ "organization": "${OPENAI_ORG_ID}"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "semiont-project",
3
+ "version": "1.0.0",
4
+ "description": "CDK infrastructure for Semiont project",
5
+ "private": true,
6
+ "scripts": {
7
+ "cdk": "cdk",
8
+ "synth": "cdk synth",
9
+ "deploy": "cdk deploy",
10
+ "destroy": "cdk destroy",
11
+ "diff": "cdk diff"
12
+ },
13
+ "devDependencies": {
14
+ "@types/node": "^20.0.0",
15
+ "aws-cdk": "^2.212.0",
16
+ "ts-node": "^10.9.1",
17
+ "typescript": "^5.0.0"
18
+ },
19
+ "dependencies": {
20
+ "aws-cdk-lib": "^2.212.0",
21
+ "constructs": "^10.0.0"
22
+ }
23
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "project": "my-semiont-project",
4
+ "site": {
5
+ "siteName": "My Semiont Site",
6
+ "domain": "example.com",
7
+ "adminEmail": "admin@example.com",
8
+ "oauthAllowedDomains": ["example.com", "gmail.com"]
9
+ },
10
+ "services": {
11
+ "frontend": {
12
+ "framework": "next",
13
+ "port": 3000
14
+ },
15
+ "backend": {
16
+ "framework": "express",
17
+ "port": 3001
18
+ },
19
+ "database": {
20
+ "type": "postgres",
21
+ "port": 5432
22
+ },
23
+ "mcp": {
24
+ "platform": {
25
+ "type": "process"
26
+ },
27
+ "port": 8585,
28
+ "authMode": "browser"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "commonjs",
5
+ "lib": ["ES2020"],
6
+ "declaration": true,
7
+ "strict": true,
8
+ "noImplicitAny": true,
9
+ "strictNullChecks": true,
10
+ "noImplicitThis": true,
11
+ "alwaysStrict": true,
12
+ "noUnusedLocals": false,
13
+ "noUnusedParameters": false,
14
+ "noImplicitReturns": true,
15
+ "noFallthroughCasesInSwitch": false,
16
+ "inlineSourceMap": true,
17
+ "inlineSources": true,
18
+ "experimentalDecorators": true,
19
+ "strictPropertyInitialization": false,
20
+ "typeRoots": ["./node_modules/@types"],
21
+ "resolveJsonModule": true,
22
+ "esModuleInterop": true,
23
+ "skipLibCheck": true
24
+ },
25
+ "include": ["cdk/**/*.ts"],
26
+ "exclude": ["node_modules", "cdk.out"]
27
+ }
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@semiont/cli",
3
+ "version": "0.1.0-build.2",
4
+ "description": "Semiont CLI - Unified environment management tool",
5
+ "_comment": "AWS SDK dependencies (@aws-sdk/*) are only used by platforms/aws",
6
+ "type": "module",
7
+ "bin": {
8
+ "semiont": "./dist/cli.mjs"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/The-AI-Alliance/semiont.git",
21
+ "directory": "apps/cli"
22
+ },
23
+ "keywords": [
24
+ "semiont",
25
+ "cli",
26
+ "environment-management",
27
+ "devops",
28
+ "deployment",
29
+ "infrastructure"
30
+ ],
31
+ "author": "Semiont Team",
32
+ "license": "Apache-2.0",
33
+ "scripts": {
34
+ "build": "npm run typecheck && node build.mjs",
35
+ "build:only": "node build.mjs",
36
+ "typecheck": "tsc --noEmit",
37
+ "clean": "rm -rf dist",
38
+ "test": "vitest",
39
+ "test:run": "vitest run",
40
+ "test:unit": "vitest run --config vitest.config.unit.ts",
41
+ "test:integration": "vitest run --config vitest.config.integration.ts",
42
+ "test:all": "npm run test:unit && npm run test:integration",
43
+ "test:watch": "vitest --watch",
44
+ "test:watch:unit": "vitest --watch --config vitest.config.unit.ts"
45
+ },
46
+ "dependencies": {
47
+ "@anthropic-ai/sdk": "^0.63.0",
48
+ "@aws-sdk/client-cloudformation": "^3.600.0",
49
+ "@aws-sdk/client-cloudwatch": "^3.600.0",
50
+ "@aws-sdk/client-cloudwatch-logs": "^3.600.0",
51
+ "@aws-sdk/client-cost-explorer": "^3.600.0",
52
+ "@aws-sdk/client-ecr": "^3.600.0",
53
+ "@aws-sdk/client-ecs": "^3.600.0",
54
+ "@aws-sdk/client-efs": "^3.600.0",
55
+ "@aws-sdk/client-elastic-load-balancing-v2": "^3.859.0",
56
+ "@aws-sdk/client-lambda": "^3.600.0",
57
+ "@aws-sdk/client-rds": "^3.600.0",
58
+ "@aws-sdk/client-route-53": "^3.864.0",
59
+ "@aws-sdk/client-secrets-manager": "^3.600.0",
60
+ "@aws-sdk/client-sts": "^3.859.0",
61
+ "@aws-sdk/client-wafv2": "^3.859.0",
62
+ "@prisma/client": "^6.13.0",
63
+ "@semiont/core": "*",
64
+ "@testcontainers/postgresql": "^11.5.1",
65
+ "@vitest/coverage-v8": "^3.2.4",
66
+ "arg": "^5.0.2",
67
+ "bcrypt": "^5.1.1",
68
+ "commander": "^14.0.0",
69
+ "esbuild": "^0.25.8",
70
+ "express": "^4.18.2",
71
+ "ink": "^4.4.1",
72
+ "is-ci": "^3.0.1",
73
+ "is-upper-case": "^2.0.2",
74
+ "openai": "^5.21.0",
75
+ "react": "^18.3.1",
76
+ "simple-git": "^3.27.0",
77
+ "socket.io": "^4.5.4",
78
+ "vitest": "^3.2.4",
79
+ "zod": "^3.23.8"
80
+ },
81
+ "devDependencies": {
82
+ "@types/express": "^4.17.17",
83
+ "@types/ink": "^0.5.2",
84
+ "@types/js-yaml": "^4.0.9",
85
+ "@types/react": "^19.0.0",
86
+ "@types/yargs": "^17.0.0",
87
+ "chalk": "^5.3.0",
88
+ "typescript": "^5.9.2",
89
+ "yargs": "^17.7.0"
90
+ }
91
+ }