Commit Graph
4 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 93d9554993 agent: Share scope across REPL evaluations
Run each submission through indirect eval so declarations land
on the global object and persist. Rewrite a leading let/const to
var so it survives too, matching the Node REPL.
2026-07-06 18:06:13 +02:00
Ole André Vadla Ravnås 8a5f13df97 Sort completions with properties before functions
Have the agent classify each member as callable via its property
descriptor (no getter side effects), then order properties ahead
of functions, alphabetically within each group.
2026-06-27 04:14:51 +02:00
Ole André Vadla Ravnås 1e4e3fdcde agent: Stop REPL completion dumping global scope
Return no members when the base expression fails to resolve instead
of falling back to the global scope.

Walk the prototype chain so resolved objects surface inherited
members.
2026-06-26 12:32:07 +02:00
Ole André Vadla Ravnås 92357bfd80 Add LumaCore package + cross-platform scaffolding
Lay the groundwork for a GTK/Adwaita frontend by extracting
shared infrastructure into a LumaCore Swift package. Agent
sources and LumaBundleCompiler move to top-level locations
so both the Xcode project and SPM can reference them.

New structure:
- Package.swift: root manifest with LumaCore lib + compiler
- Sources/LumaCore/: engine, persistence, models, and
  platform-abstracted token store
- Sources/LumaBundleCompiler/: moved from LumaBundleCompiler/
- Agent/: moved from Luma/Agent/
- LumaGtk/: skeleton GTK app package
2026-04-06 18:59:29 +02:00