feat: Wire up intent and architect packages together

- Added  "@omnia/intent": "workspace:*"  dependency to package.json.
- Referenced  ../intent  in the project references of tsconfig.json.
- Updated  validate  in llm-validator.ts to accept intent:Intent instead
of actorId and actionIntent strings
- Promoted the LLM prompt's action details block to include the
structured fields of the intent (type ,  description ,  originalText ,
targetIds ), passing this context to the validator.)
- Updated the  IDeltaGenerator  interface and  TimeDeltaGenerator 's
generate  signature in delta.ts to accept  intent: Intent .
- Refined the LLM prompt's action details block in  TimeDeltaGenerator
to utilize the structured structured  Intent  object.
- Updated all validation and execution mock calls in architect.test.ts
to construct and pass valid Intent  objects.
This commit is contained in:
2026-07-06 23:49:12 +05:30
parent 7412ab48ea
commit 1b667446dd
7 changed files with 75 additions and 46 deletions

View File

@@ -7,6 +7,7 @@
"include": ["src"],
"references": [
{ "path": "../core" },
{ "path": "../llm" }
{ "path": "../llm" },
{ "path": "../intent" }
]
}