mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
refactor: Move cli package to apps/cli
This commit is contained in:
@@ -137,9 +137,10 @@ omnia/
|
||||
spatial/ location and POI graph, portal-based perception
|
||||
llm/ ILLMProvider interface plus Gemini and deterministic mock implementations
|
||||
scenario/ scenario JSON schema and loader (JSON → SQLite)
|
||||
apps/
|
||||
cli/ the playable loop (human or LLM actors, --scenario / --play flags)
|
||||
content/
|
||||
demo/ bundled scenarios (talking-room)
|
||||
cli/ the playable loop (human or LLM actors, --scenario / --play flags)
|
||||
tests/
|
||||
integration/ cross-package tests against a mocked LLM
|
||||
evals/ deliberate real-API evaluation runs
|
||||
|
||||
18
apps/cli/tsconfig.json
Normal file
18
apps/cli/tsconfig.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": [
|
||||
{ "path": "../../packages/core" },
|
||||
{ "path": "../../packages/spatial" },
|
||||
{ "path": "../../packages/memory" },
|
||||
{ "path": "../../packages/intent" },
|
||||
{ "path": "../../packages/architect" },
|
||||
{ "path": "../../packages/actor" },
|
||||
{ "path": "../../packages/llm" },
|
||||
{ "path": "../../packages/scenario" }
|
||||
]
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": [
|
||||
{ "path": "../packages/core" },
|
||||
{ "path": "../packages/spatial" },
|
||||
{ "path": "../packages/memory" },
|
||||
{ "path": "../packages/intent" },
|
||||
{ "path": "../packages/architect" },
|
||||
{ "path": "../packages/actor" },
|
||||
{ "path": "../packages/llm" },
|
||||
{ "path": "../packages/scenario" }
|
||||
]
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
"test": "vitest run --project unit",
|
||||
"test:watch": "vitest --project unit",
|
||||
"test:evals": "vitest run --project evals",
|
||||
"play": "node cli/dist/index.js"
|
||||
"play": "node apps/cli/dist/index.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
@@ -251,32 +251,32 @@ importers:
|
||||
specifier: ^4.4.3
|
||||
version: 4.4.3
|
||||
|
||||
cli:
|
||||
apps/cli:
|
||||
dependencies:
|
||||
'@omnia/actor':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/actor
|
||||
version: link:../../packages/actor
|
||||
'@omnia/architect':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/architect
|
||||
version: link:../../packages/architect
|
||||
'@omnia/core':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/core
|
||||
version: link:../../packages/core
|
||||
'@omnia/intent':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/intent
|
||||
version: link:../../packages/intent
|
||||
'@omnia/llm':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/llm
|
||||
version: link:../../packages/llm
|
||||
'@omnia/memory':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/memory
|
||||
version: link:../../packages/memory
|
||||
'@omnia/scenario':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/scenario
|
||||
version: link:../../packages/scenario
|
||||
'@omnia/spatial':
|
||||
specifier: workspace:*
|
||||
version: link:../packages/spatial
|
||||
version: link:../../packages/spatial
|
||||
better-sqlite3:
|
||||
specifier: ^12.11.1
|
||||
version: 12.11.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
packages:
|
||||
- "packages/*"
|
||||
- "cli"
|
||||
- "apps/cli"
|
||||
- "web/*"
|
||||
|
||||
allowBuilds:
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
{ "path": "./packages/llm" },
|
||||
{ "path": "./packages/actor" },
|
||||
{ "path": "./packages/scenario" },
|
||||
{ "path": "./cli" }
|
||||
{ "path": "./apps/cli" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default defineConfig({
|
||||
"@omnia/spatial": path.resolve(__dirname, "./packages/spatial/src"),
|
||||
"@omnia/actor": path.resolve(__dirname, "./packages/actor/src"),
|
||||
"@omnia/scenario": path.resolve(__dirname, "./packages/scenario/src"),
|
||||
"@omnia/cli": path.resolve(__dirname, "./cli/src"),
|
||||
"@omnia/cli": path.resolve(__dirname, "./apps/cli/src"),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
|
||||
@@ -16,9 +16,10 @@ omnia/
|
||||
spatial/ location and POI graph, portal-based perception
|
||||
llm/ ILLMProvider interface plus Gemini and deterministic mock implementations
|
||||
scenario/ scenario JSON schema and loader (JSON → SQLite)
|
||||
apps/
|
||||
cli/ the playable loop (human or LLM actors, --scenario / --play flags)
|
||||
content/
|
||||
demo/ bundled scenarios (talking-room)
|
||||
cli/ the playable loop (human or LLM actors, --scenario / --play flags)
|
||||
tests/
|
||||
integration/ cross-package tests against a mocked LLM
|
||||
evals/ deliberate real-API evaluation runs
|
||||
|
||||
Reference in New Issue
Block a user