sovkora 0.0.0-stage → 1.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 (98) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +9 -0
  3. package/README.md +67 -2
  4. package/dist/commands/agent.command.js +267 -0
  5. package/dist/commands/chat.command.js +214 -0
  6. package/dist/commands/chat.handlers.js +150 -0
  7. package/dist/commands/chat.types.js +44 -0
  8. package/dist/commands/cinema.command.js +643 -0
  9. package/dist/commands/config.command.js +228 -0
  10. package/dist/commands/db.command.js +114 -0
  11. package/dist/commands/demo.command.js +55 -0
  12. package/dist/commands/dev.command.js +462 -0
  13. package/dist/commands/docs.command.js +135 -0
  14. package/dist/commands/doctor.command.js +119 -0
  15. package/dist/commands/forgot.command.js +57 -0
  16. package/dist/commands/generate.command.js +376 -0
  17. package/dist/commands/graph.command.js +54 -0
  18. package/dist/commands/init.command.js +380 -0
  19. package/dist/commands/init.steps.js +115 -0
  20. package/dist/commands/install.command.js +459 -0
  21. package/dist/commands/login.command.js +110 -0
  22. package/dist/commands/logs.command.js +215 -0
  23. package/dist/commands/logs.steps.js +130 -0
  24. package/dist/commands/mcp.command.js +104 -0
  25. package/dist/commands/models.command.js +164 -0
  26. package/dist/commands/onboard.command.js +236 -0
  27. package/dist/commands/pack.command.js +255 -0
  28. package/dist/commands/profile.command.js +51 -0
  29. package/dist/commands/recover.command.js +489 -0
  30. package/dist/commands/register.command.js +94 -0
  31. package/dist/commands/release.command.js +99 -0
  32. package/dist/commands/reset.command.js +79 -0
  33. package/dist/commands/runs.command.js +201 -0
  34. package/dist/commands/settings.command.js +85 -0
  35. package/dist/commands/start.command.js +590 -0
  36. package/dist/commands/status.command.js +167 -0
  37. package/dist/commands/stop.command.js +313 -0
  38. package/dist/commands/studio.command.js +266 -0
  39. package/dist/commands/test.command.js +134 -0
  40. package/dist/commands/verify.command.js +52 -0
  41. package/dist/commands/video.command.js +73 -0
  42. package/dist/commands/workspace-guard.js +72 -0
  43. package/dist/index.js +207 -0
  44. package/dist/renderers.js +250 -0
  45. package/dist/services/api-client.js +150 -0
  46. package/dist/services/auth.api.js +87 -0
  47. package/dist/services/chat.api.js +117 -0
  48. package/dist/services/cinema-estimate.json +42 -0
  49. package/dist/services/cinema.childsafe.js +52 -0
  50. package/dist/services/cinema.director.js +285 -0
  51. package/dist/services/cinema.production.js +417 -0
  52. package/dist/services/cinema.staging.js +323 -0
  53. package/dist/services/cinema.story.js +758 -0
  54. package/dist/services/cinema.treatment.js +393 -0
  55. package/dist/services/composer.run.js +94 -0
  56. package/dist/services/demo/demo.documents.js +108 -0
  57. package/dist/services/demo/demo.guard.js +49 -0
  58. package/dist/services/demo/demo.persona.js +114 -0
  59. package/dist/services/demo/demo.seed.js +281 -0
  60. package/dist/services/diagnostics.js +327 -0
  61. package/dist/services/image-model-recipes.json +93 -0
  62. package/dist/services/image-models.js +152 -0
  63. package/dist/services/local-store.js +145 -0
  64. package/dist/services/mcp.api.js +38 -0
  65. package/dist/services/model-catalog.js +70 -0
  66. package/dist/services/notify.js +55 -0
  67. package/dist/services/pack.api.js +23 -0
  68. package/dist/services/pack.bundle.js +241 -0
  69. package/dist/services/pack.sources.js +101 -0
  70. package/dist/services/release-manifest.js +266 -0
  71. package/dist/services/runs.view.js +80 -0
  72. package/dist/services/runs.wait.js +38 -0
  73. package/dist/services/semver.js +55 -0
  74. package/dist/services/settings.api.js +108 -0
  75. package/dist/services/string-utils.js +70 -0
  76. package/dist/services/studio.api.js +120 -0
  77. package/dist/services/templates.js +893 -0
  78. package/dist/services/tool-installer.js +353 -0
  79. package/dist/services/tool-path.js +72 -0
  80. package/dist/services/version-manager.js +253 -0
  81. package/dist/services/workspace-bootstrap.js +68 -0
  82. package/dist/threads.js +202 -0
  83. package/dist/types/api.types.js +6 -0
  84. package/dist/types/local.types.js +6 -0
  85. package/dist/ui/box.js +46 -0
  86. package/dist/ui/logger.js +28 -0
  87. package/dist/ui/platform.js +32 -0
  88. package/dist/ui/prompts.js +130 -0
  89. package/dist/ui/table.js +33 -0
  90. package/dist/utils/config.js +150 -0
  91. package/dist/utils/development-status.js +22 -0
  92. package/dist/utils/endpoints.js +41 -0
  93. package/dist/utils/health.js +94 -0
  94. package/dist/utils/pid.js +83 -0
  95. package/dist/utils/platform.js +358 -0
  96. package/dist/utils/process.js +139 -0
  97. package/dist/utils/state-dir.js +105 -0
  98. package/package.json +95 -4
package/package.json CHANGED
@@ -1,6 +1,97 @@
1
1
  {
2
2
  "name": "sovkora",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.1.0",
4
+ "packageManager": "pnpm@12.10.1",
5
+ "description": "The sovkora CLI — clone, install, start and develop the Sovkora sovereign AI platform from your terminal.",
6
+ "bin": {
7
+ "sovkora": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE",
13
+ "NOTICE"
14
+ ],
15
+ "engines": {
16
+ "node": ">=22"
17
+ },
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/krizaka/sovkora.git"
24
+ },
25
+ "homepage": "https://www.krizaka.com/en/products/sovkora",
26
+ "bugs": {
27
+ "url": "https://github.com/krizaka/sovkora/issues"
28
+ },
29
+ "scripts": {
30
+ "start": "ts-node src/index.ts",
31
+ "check": "ts-node src/index.ts install --check-only",
32
+ "setup": "ts-node src/index.ts install",
33
+ "status": "ts-node src/index.ts status",
34
+ "models:check": "ts-node src/index.ts models",
35
+ "infra": "ts-node src/index.ts start --mode dev",
36
+ "infra:start": "ts-node src/index.ts start --mode dev",
37
+ "infra:full": "ts-node src/index.ts start --mode full",
38
+ "infra:stop": "ts-node src/index.ts stop",
39
+ "infra:restart": "ts-node src/index.ts stop -y && ts-node src/index.ts start --mode dev",
40
+ "infra:purge": "ts-node src/index.ts stop -y --purge",
41
+ "infra:reset": "ts-node src/index.ts stop -y --purge && ts-node src/index.ts start --mode dev",
42
+ "dev": "ts-node src/index.ts dev",
43
+ "dev:web": "ts-node src/index.ts dev --only web",
44
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
45
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest",
46
+ "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --runInBand",
47
+ "sonar": "npx -y sonar-scanner -Dsonar.token=$SONAR_TOKEN -Dsonar.branch.name=$(git rev-parse --abbrev-ref HEAD)",
48
+ "lint": "eslint src && npm run format:check",
49
+ "depcheck": "depcruise src --config .dependency-cruiser.cjs",
50
+ "test:e2e": "npx vitest run --config vitest.config.ts",
51
+ "validate": "npm rebuild && npm run lint && npm run depcheck && npm run build && npm run test:coverage",
52
+ "prepack": "npm run build",
53
+ "test:pack": "node scripts/pack-smoke.mjs",
54
+ "format": "prettier --write \"**/*.{ts,tsx,js,jsx,mjs,cjs,json,css}\"",
55
+ "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mjs,cjs,json,css}\""
56
+ },
57
+ "keywords": [
58
+ "sovkora",
59
+ "krizaka",
60
+ "sovereign-ai",
61
+ "ai",
62
+ "cli"
63
+ ],
64
+ "author": "Krizaka (https://www.krizaka.com)",
65
+ "license": "Apache-2.0",
66
+ "type": "commonjs",
67
+ "dependencies": {
68
+ "@clack/prompts": "^0.11.0",
69
+ "ajv": "^8.20.0",
70
+ "ajv-formats": "^3.0.1",
71
+ "better-sqlite3": "^13.0.3",
72
+ "chalk": "^4.1.2",
73
+ "cli-table3": "^0.6.5",
74
+ "commander": "^14.0.3",
75
+ "date-fns": "^4.3.0",
76
+ "ora": "^5.4.1",
77
+ "yaml": "^2.9.0"
78
+ },
79
+ "devDependencies": {
80
+ "@eslint/js": "^10.0.1",
81
+ "@krizaka/config": "^0.22.0",
82
+ "@types/better-sqlite3": "^9.6.0",
83
+ "@types/jest": "^30.0.0",
84
+ "@types/node": "^25.8.0",
85
+ "dependency-cruiser": "^18.7.2",
86
+ "eslint": "^10.4.1",
87
+ "execa": "^10.1.0",
88
+ "jest": "^30.4.2",
89
+ "jest-environment-node": "^30.4.1",
90
+ "prettier": "^3.9.10",
91
+ "ts-jest": "^29.4.0",
92
+ "ts-node": "^10.9.2",
93
+ "typescript": "^6.0.3",
94
+ "typescript-eslint": "^8.60.1",
95
+ "vitest": "^5.1.0"
96
+ }
97
+ }