Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.1 KB
Raw Blame

Explore the real public Macro SDK by entity. Empty names returns a compact list of namespaces and one-sentence descriptions. Request up to five exact entity names together for their indexes, e.g. {names:["documents","email","ai","agentSessions","core"]}: each lists the entity's classes, methods with signatures, and types by symbol. Read the symbols a program needs with ReadCodeDocs, e.g. {symbols:["TaskNamespace.create","Task"]}. Request topics ["search","ai","templates","examples"] for workflow examples. Indexes and references already in context need no further discovery call. References are documentation; generated programs are plain JavaScript.

ExecuteCode runs an ES module exporting async main({macro,session,execution}). The provided objects are real SDK entity handles. Methods return their documented promises or async iterators; they are not tool-name proxies. Optional explicit imports are @macro-inc/sdk and handlebars. Return {data:} with optional reviews:[...] (defaults to []); fetch fields on entities rather than serializing handles. See agentSessions for persistent, nonblocking review stacks.