mia-code 0.2.0 → 0.3.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.
- package/.miette/260321.md +1 -0
- package/.miette/260323.md +9 -0
- package/.miette/260331.md +2 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--d3417f2c-df12-4f0f-8a1b-d88e7968f822/d3417f2c-df12-4f0f-8a1b-d88e7968f822.md +63 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--e6c3fc5d-4a70-4523-ba7d-a3250da4c235/e6c3fc5d-4a70-4523-ba7d-a3250da4c235.md +72 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/2604020008--efeb00a2-b17a-4d32-b1f0-b90c37a8d24e/efeb00a2-b17a-4d32-b1f0-b90c37a8d24e.md +62 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.json +302 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/83a2d7f9-24a5-4cf4-98d5-036c82f872e8.md +149 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/AGENTS.md +31 -0
- package/.pde/2604011511--83a2d7f9-24a5-4cf4-98d5-036c82f872e8/meta-decomposition-3-children.md +67 -0
- package/.pde/2604040129--61f9dd4d-7aa6-45e6-a58b-e480b1aa6737/61f9dd4d-7aa6-45e6-a58b-e480b1aa6737--from-mia-openclaw-workspace.md +125 -0
- package/.pde/2604040129--61f9dd4d-7aa6-45e6-a58b-e480b1aa6737/STATUS.md +1 -0
- package/.pde/4f02ba94-9f52-422e-9389-b16f9b37f358.json +177 -0
- package/.pde/4f02ba94-9f52-422e-9389-b16f9b37f358.md +77 -0
- package/.pde/6ad9244d-5340-490f-b76c-c86728b9de52.json +222 -0
- package/.pde/6ad9244d-5340-490f-b76c-c86728b9de52.md +99 -0
- package/.pde/8b566792-ed15-4606-96f9-2b6f593d7e6b.json +111 -0
- package/.pde/8b566792-ed15-4606-96f9-2b6f593d7e6b.md +67 -0
- package/.pde/c7f1e74b-05a5-40e2-9f01-4cc48d2528f7.json +349 -0
- package/.pde/c7f1e74b-05a5-40e2-9f01-4cc48d2528f7.md +147 -0
- package/.pde/dfc00a78-1da0-4c09-8a16-c6982644051b.json +118 -0
- package/.pde/dfc00a78-1da0-4c09-8a16-c6982644051b.md +64 -0
- package/GUILLAUME.md +8 -0
- package/KINSHIP.md +9 -0
- package/MIA_CODE_ARCHITECTURE_REPORT.md +718 -0
- package/contextual_research/260119-MIA-CODE--98090899-8aff-4e11-9dc3-8b99466d1.md +1101 -0
- package/contextual_research/MIA.md +38 -0
- package/contextual_research/MIAWAPASCONE.md +59 -0
- package/contextual_research/MIETTE.md +38 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/2504.00218v2.pdf +7483 -12
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/2505.00212v3.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/CONTENT.md +1014 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/DESIGN.gemini.md +242 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/INDEX.md +45 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2504.00218v2.md +2025 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2504.00218v2.pdf +7483 -12
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2505.00212v3.md +1755 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/2505.00212v3.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_12_decomposed_prompting.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_19_hugginggpt_planning.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_1_coordination_challenges.md +766 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_1_coordination_challenges.pdf +3431 -4
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_28_guardrails_multi_agent.md +260 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_28_guardrails_multi_agent.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_2_navigating_complexity.md +558 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_2_navigating_complexity.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_34_hierarchical_multi_agent.pdf +0 -0
- package/contextual_research/PDE-generalization--caefee82-efb1-4dbb-8733-691b01581464--260130/sources/footnote_1_5_open_intent_extraction.pdf +0 -0
- package/contextual_research/PODCAST.md +109 -0
- package/contextual_research/langchain-principles-roadmap.md +157 -0
- package/contextual_research/persona-to-narrative-character-inquiry_260201.md +50 -0
- package/dist/cli.js +35 -11
- package/dist/geminiHeadless.js +8 -2
- package/dist/index.js +2 -1
- package/dist/mcp/miaco-server.js +10 -1
- package/dist/mcp/miatel-server.js +10 -1
- package/dist/mcp/miawa-server.js +10 -1
- package/dist/mcp/utils.d.ts +6 -1
- package/dist/mcp/utils.js +24 -3
- package/dist/sessionStore.d.ts +8 -2
- package/dist/sessionStore.js +39 -3
- package/dist/types.d.ts +1 -0
- package/miaco/README.md +124 -0
- package/miaco/dist/commands/chart.d.ts +6 -0
- package/miaco/dist/commands/chart.d.ts.map +1 -0
- package/miaco/dist/commands/chart.js +222 -0
- package/miaco/dist/commands/chart.js.map +1 -0
- package/miaco/dist/commands/decompose.d.ts +6 -0
- package/miaco/dist/commands/decompose.d.ts.map +1 -0
- package/miaco/dist/commands/decompose.js +98 -0
- package/miaco/dist/commands/decompose.js.map +1 -0
- package/miaco/dist/commands/schema.d.ts +6 -0
- package/miaco/dist/commands/schema.d.ts.map +1 -0
- package/miaco/dist/commands/schema.js +66 -0
- package/miaco/dist/commands/schema.js.map +1 -0
- package/miaco/dist/commands/stc.d.ts +11 -0
- package/miaco/dist/commands/stc.d.ts.map +1 -0
- package/miaco/dist/commands/stc.js +590 -0
- package/miaco/dist/commands/stc.js.map +1 -0
- package/miaco/dist/commands/trace.d.ts +6 -0
- package/miaco/dist/commands/trace.d.ts.map +1 -0
- package/miaco/dist/commands/trace.js +83 -0
- package/miaco/dist/commands/trace.js.map +1 -0
- package/miaco/dist/commands/validate.d.ts +6 -0
- package/miaco/dist/commands/validate.d.ts.map +1 -0
- package/miaco/dist/commands/validate.js +58 -0
- package/miaco/dist/commands/validate.js.map +1 -0
- package/miaco/dist/decompose.d.ts +93 -0
- package/miaco/dist/decompose.d.ts.map +1 -0
- package/miaco/dist/decompose.js +562 -0
- package/miaco/dist/decompose.js.map +1 -0
- package/miaco/dist/index.d.ts +18 -0
- package/miaco/dist/index.d.ts.map +1 -0
- package/miaco/dist/index.js +83 -0
- package/miaco/dist/index.js.map +1 -0
- package/miaco/dist/storage.d.ts +60 -0
- package/miaco/dist/storage.d.ts.map +1 -0
- package/miaco/dist/storage.js +100 -0
- package/miaco/dist/storage.js.map +1 -0
- package/miaco/package-lock.json +4103 -0
- package/miaco/package.json +40 -0
- package/miaco/tsconfig.json +18 -0
- package/miaco/version-patch-commit-and-publish.sh +1 -0
- package/miatel/MISSION_251231.md +3 -0
- package/miatel/README.md +107 -0
- package/miatel/dist/commands/analyze.d.ts +6 -0
- package/miatel/dist/commands/analyze.d.ts.map +1 -0
- package/miatel/dist/commands/analyze.js +100 -0
- package/miatel/dist/commands/analyze.js.map +1 -0
- package/miatel/dist/commands/arc.d.ts +6 -0
- package/miatel/dist/commands/arc.d.ts.map +1 -0
- package/miatel/dist/commands/arc.js +71 -0
- package/miatel/dist/commands/arc.js.map +1 -0
- package/miatel/dist/commands/beat.d.ts +6 -0
- package/miatel/dist/commands/beat.d.ts.map +1 -0
- package/miatel/dist/commands/beat.js +165 -0
- package/miatel/dist/commands/beat.js.map +1 -0
- package/miatel/dist/commands/theme.d.ts +6 -0
- package/miatel/dist/commands/theme.d.ts.map +1 -0
- package/miatel/dist/commands/theme.js +54 -0
- package/miatel/dist/commands/theme.js.map +1 -0
- package/miatel/dist/index.d.ts +18 -0
- package/miatel/dist/index.d.ts.map +1 -0
- package/miatel/dist/index.js +80 -0
- package/miatel/dist/index.js.map +1 -0
- package/miatel/dist/storage.d.ts +55 -0
- package/miatel/dist/storage.d.ts.map +1 -0
- package/miatel/dist/storage.js +100 -0
- package/miatel/dist/storage.js.map +1 -0
- package/miatel/package-lock.json +4103 -0
- package/miatel/package.json +35 -0
- package/miatel/src/commands/analyze.ts +109 -0
- package/miatel/src/commands/arc.ts +78 -0
- package/miatel/src/commands/beat.ts +176 -0
- package/miatel/src/commands/theme.ts +60 -0
- package/miatel/src/index.ts +94 -0
- package/miatel/src/storage.ts +156 -0
- package/miatel/tsconfig.json +18 -0
- package/miawa/MISSION_251231.md +144 -0
- package/miawa/README.md +133 -0
- package/miawa/dist/commands/beat.d.ts +6 -0
- package/miawa/dist/commands/beat.d.ts.map +1 -0
- package/miawa/dist/commands/beat.js +69 -0
- package/miawa/dist/commands/beat.js.map +1 -0
- package/miawa/dist/commands/ceremony.d.ts +6 -0
- package/miawa/dist/commands/ceremony.d.ts.map +1 -0
- package/miawa/dist/commands/ceremony.js +239 -0
- package/miawa/dist/commands/ceremony.js.map +1 -0
- package/miawa/dist/commands/circle.d.ts +6 -0
- package/miawa/dist/commands/circle.d.ts.map +1 -0
- package/miawa/dist/commands/circle.js +75 -0
- package/miawa/dist/commands/circle.js.map +1 -0
- package/miawa/dist/commands/eva.d.ts +6 -0
- package/miawa/dist/commands/eva.d.ts.map +1 -0
- package/miawa/dist/commands/eva.js +73 -0
- package/miawa/dist/commands/eva.js.map +1 -0
- package/miawa/dist/commands/wound.d.ts +6 -0
- package/miawa/dist/commands/wound.d.ts.map +1 -0
- package/miawa/dist/commands/wound.js +74 -0
- package/miawa/dist/commands/wound.js.map +1 -0
- package/miawa/dist/index.d.ts +19 -0
- package/miawa/dist/index.d.ts.map +1 -0
- package/miawa/dist/index.js +91 -0
- package/miawa/dist/index.js.map +1 -0
- package/miawa/dist/storage.d.ts +73 -0
- package/miawa/dist/storage.d.ts.map +1 -0
- package/miawa/dist/storage.js +100 -0
- package/miawa/dist/storage.js.map +1 -0
- package/miawa/package-lock.json +4103 -0
- package/miawa/package.json +36 -0
- package/miawa/src/commands/beat.ts +74 -0
- package/miawa/src/commands/ceremony.ts +256 -0
- package/miawa/src/commands/circle.ts +83 -0
- package/miawa/src/commands/eva.ts +84 -0
- package/miawa/src/commands/wound.ts +79 -0
- package/miawa/src/index.ts +108 -0
- package/miawa/src/storage.ts +179 -0
- package/miawa/tsconfig.json +18 -0
- package/package.json +7 -5
- package/references/acp/CLAUDE.md +7 -0
- package/references/acp/agent-plan.md +84 -0
- package/references/acp/clients.md +31 -0
- package/references/acp/extensibility.md +137 -0
- package/references/acp/initialization.md +225 -0
- package/references/acp/prompt-turn.md +321 -0
- package/references/acp/proxy-chains.md +562 -0
- package/references/acp/schema.md +3171 -0
- package/references/acp/session-list.md +334 -0
- package/references/acp/session-modes.md +170 -0
- package/references/acp/slash-commands.md +99 -0
- package/references/acp/terminals.md +281 -0
- package/references/acp/tool-calls.md +311 -0
- package/references/acp/typescript.md +29 -0
- package/references/claude/agent-teams.md +399 -0
- package/references/claude/chrome.md +231 -0
- package/references/claude/headless.md +158 -0
- package/references/claude/hooks-guide.md +708 -0
- package/references/claude/output-styles.md +112 -0
- package/references/claude/plugins.md +432 -0
- package/references/claude/skills.md +693 -0
- package/references/claude/sub-agents.md +816 -0
- package/references/copilot/acp/agents.md +32 -0
- package/references/copilot/acp/architecture.md +37 -0
- package/references/copilot/acp/clients.md +31 -0
- package/references/copilot/acp/introduction.md +42 -0
- package/references/copilot/acp/registry.md +339 -0
- package/references/copilot/acp-server.md +117 -0
- package/references/copilot/create-copilot-instructions.md +840 -0
- package/references/langchain/llms.txt +833 -0
- package/references/langchain/python/agents.md +677 -0
- package/references/langchain/python/context-engineering.md +1195 -0
- package/references/langchain/python/human-in-the-loop.md +326 -0
- package/references/langchain/python/long-term-memory.md +168 -0
- package/references/langchain/python/mcp.md +949 -0
- package/references/langchain/python/multi-agents/custom-workflow.md +187 -0
- package/references/langchain/python/multi-agents/handoffs.md +436 -0
- package/references/langchain/python/multi-agents/overview.md +295 -0
- package/references/langchain/python/multi-agents/router.md +150 -0
- package/references/langchain/python/multi-agents/skills.md +92 -0
- package/references/langchain/python/multi-agents/subagents.md +486 -0
- package/references/langchain/python/retrieval.md +320 -0
- package/references/langchain/python/runtime.md +141 -0
- package/references/langchain/python/short-term-memory.md +658 -0
- package/references/langchain/python/structured-output.md +712 -0
- package/references/langfuse/llms.txt +148 -0
- package/references/langgraph/javascript/llms.txt +275 -0
- package/references/skills/home.md +259 -0
- package/references/skills/integrate-skills.md +103 -0
- package/references/skills/specification.md +254 -0
- package/references/skills/what-are-skills.md +74 -0
- package/rispecs/README.md +164 -0
- package/rispecs/_sync_/miadi-code/SPEC.md +313 -0
- package/rispecs/_sync_/miadi-code/STATUS.md +177 -0
- package/rispecs/_sync_/miadi-code/dashboard/SPEC.md +465 -0
- package/rispecs/_sync_/miadi-code/dashboard/STATUS.md +212 -0
- package/rispecs/_sync_/miadi-code/multiline-input/SPEC.md +232 -0
- package/rispecs/_sync_/miadi-code/multiline-input/STATUS.md +108 -0
- package/rispecs/_sync_/miadi-code/pde/SPEC.md +253 -0
- package/rispecs/_sync_/miadi-code/pde/STATUS.md +56 -0
- package/rispecs/_sync_/miadi-code/stc/SPEC.md +397 -0
- package/rispecs/_sync_/miadi-code/stc/STATUS.md +70 -0
- package/rispecs/ava-langstack/inquiry-routing-upgrade.spec.md +119 -0
- package/rispecs/borrowed_from_opencode/001-client-server-architecture.rispec.md +98 -0
- package/rispecs/borrowed_from_opencode/002-event-bus-system.rispec.md +125 -0
- package/rispecs/borrowed_from_opencode/003-instance-state-pattern.rispec.md +136 -0
- package/rispecs/borrowed_from_opencode/004-namespace-module-pattern.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/005-zod-schema-validation.rispec.md +139 -0
- package/rispecs/borrowed_from_opencode/006-named-error-system.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/007-structured-logging.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/008-lazy-initialization.rispec.md +127 -0
- package/rispecs/borrowed_from_opencode/009-multi-agent-system.rispec.md +97 -0
- package/rispecs/borrowed_from_opencode/010-agent-definition-config.rispec.md +135 -0
- package/rispecs/borrowed_from_opencode/011-agent-permission-rulesets.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/012-agent-prompt-templates.rispec.md +141 -0
- package/rispecs/borrowed_from_opencode/013-agent-generation.rispec.md +142 -0
- package/rispecs/borrowed_from_opencode/014-plan-build-mode-toggle.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/015-subagent-task-delegation.rispec.md +146 -0
- package/rispecs/borrowed_from_opencode/016-agent-model-selection.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/017-compaction-agent.rispec.md +150 -0
- package/rispecs/borrowed_from_opencode/018-session-persistence.rispec.md +125 -0
- package/rispecs/borrowed_from_opencode/019-session-compaction.rispec.md +132 -0
- package/rispecs/borrowed_from_opencode/020-session-forking.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/021-session-revert-snapshot.rispec.md +135 -0
- package/rispecs/borrowed_from_opencode/022-session-sharing.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/023-session-summary-diffs.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/024-child-sessions.rispec.md +164 -0
- package/rispecs/borrowed_from_opencode/025-session-title-generation.rispec.md +162 -0
- package/rispecs/borrowed_from_opencode/026-message-parts-model.rispec.md +201 -0
- package/rispecs/borrowed_from_opencode/027-streaming-message-deltas.rispec.md +212 -0
- package/rispecs/borrowed_from_opencode/028-multi-provider-architecture.rispec.md +184 -0
- package/rispecs/borrowed_from_opencode/029-provider-authentication.rispec.md +225 -0
- package/rispecs/borrowed_from_opencode/030-model-registry.rispec.md +222 -0
- package/rispecs/borrowed_from_opencode/031-cost-tracking.rispec.md +243 -0
- package/rispecs/borrowed_from_opencode/032-provider-transform-pipeline.rispec.md +282 -0
- package/rispecs/borrowed_from_opencode/033-provider-sdk-abstraction.rispec.md +338 -0
- package/rispecs/borrowed_from_opencode/034-tool-registry.rispec.md +110 -0
- package/rispecs/borrowed_from_opencode/035-tool-context-injection.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/036-tool-output-truncation.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/037-batch-tool.rispec.md +129 -0
- package/rispecs/borrowed_from_opencode/038-multi-edit-tool.rispec.md +167 -0
- package/rispecs/borrowed_from_opencode/039-apply-patch-tool.rispec.md +161 -0
- package/rispecs/borrowed_from_opencode/040-code-search-tool.rispec.md +143 -0
- package/rispecs/borrowed_from_opencode/041-web-fetch-tool.rispec.md +131 -0
- package/rispecs/borrowed_from_opencode/042-web-search-tool.rispec.md +159 -0
- package/rispecs/borrowed_from_opencode/043-todo-tool.rispec.md +156 -0
- package/rispecs/borrowed_from_opencode/044-plan-mode-tool.rispec.md +139 -0
- package/rispecs/borrowed_from_opencode/045-task-tool.rispec.md +146 -0
- package/rispecs/borrowed_from_opencode/046-question-tool.rispec.md +170 -0
- package/rispecs/borrowed_from_opencode/047-external-directory-tool.rispec.md +166 -0
- package/rispecs/borrowed_from_opencode/048-file-read-write-tools.rispec.md +205 -0
- package/rispecs/borrowed_from_opencode/049-lsp-server-management.rispec.md +104 -0
- package/rispecs/borrowed_from_opencode/050-lsp-hover-completion.rispec.md +102 -0
- package/rispecs/borrowed_from_opencode/051-lsp-diagnostics.rispec.md +86 -0
- package/rispecs/borrowed_from_opencode/052-lsp-root-detection.rispec.md +109 -0
- package/rispecs/borrowed_from_opencode/053-remote-mcp-servers.rispec.md +119 -0
- package/rispecs/borrowed_from_opencode/054-mcp-oauth-flow.rispec.md +107 -0
- package/rispecs/borrowed_from_opencode/055-mcp-tool-conversion.rispec.md +118 -0
- package/rispecs/borrowed_from_opencode/056-mcp-connection-monitoring.rispec.md +106 -0
- package/rispecs/borrowed_from_opencode/057-local-mcp-servers.rispec.md +116 -0
- package/rispecs/borrowed_from_opencode/058-rich-tui.rispec.md +108 -0
- package/rispecs/borrowed_from_opencode/059-streaming-display.rispec.md +116 -0
- package/rispecs/borrowed_from_opencode/060-permission-prompts.rispec.md +130 -0
- package/rispecs/borrowed_from_opencode/061-session-navigation.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/062-syntax-highlighting.rispec.md +151 -0
- package/rispecs/borrowed_from_opencode/063-keybinding-system.rispec.md +181 -0
- package/rispecs/borrowed_from_opencode/064-multi-level-config.rispec.md +155 -0
- package/rispecs/borrowed_from_opencode/065-jsonc-config.rispec.md +190 -0
- package/rispecs/borrowed_from_opencode/066-config-env-variables.rispec.md +153 -0
- package/rispecs/borrowed_from_opencode/067-config-deep-merging.rispec.md +178 -0
- package/rispecs/borrowed_from_opencode/068-remote-org-config.rispec.md +183 -0
- package/rispecs/borrowed_from_opencode/069-config-markdown-frontmatter.rispec.md +206 -0
- package/rispecs/borrowed_from_opencode/070-managed-config-directory.rispec.md +232 -0
- package/rispecs/borrowed_from_opencode/071-plugin-architecture.rispec.md +104 -0
- package/rispecs/borrowed_from_opencode/072-plugin-hooks.rispec.md +123 -0
- package/rispecs/borrowed_from_opencode/073-plugin-auto-install.rispec.md +115 -0
- package/rispecs/borrowed_from_opencode/074-permission-system.rispec.md +133 -0
- package/rispecs/borrowed_from_opencode/075-git-worktree-management.rispec.md +126 -0
- package/rispecs/borrowed_from_opencode/076-snapshot-system.rispec.md +124 -0
- package/rispecs/borrowed_from_opencode/077-snapshot-diff.rispec.md +117 -0
- package/rispecs/borrowed_from_opencode/078-snapshot-restore.rispec.md +128 -0
- package/rispecs/borrowed_from_opencode/079-worktree-branch-naming.rispec.md +122 -0
- package/rispecs/borrowed_from_opencode/080-sqlite-storage.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/081-database-migrations.rispec.md +148 -0
- package/rispecs/borrowed_from_opencode/082-database-transactions.rispec.md +138 -0
- package/rispecs/borrowed_from_opencode/083-deferred-effects.rispec.md +148 -0
- package/rispecs/borrowed_from_opencode/084-permission-rules.rispec.md +123 -0
- package/rispecs/borrowed_from_opencode/085-permission-glob-patterns.rispec.md +113 -0
- package/rispecs/borrowed_from_opencode/086-permission-merging.rispec.md +134 -0
- package/rispecs/borrowed_from_opencode/087-permission-modes.rispec.md +145 -0
- package/rispecs/borrowed_from_opencode/088-http-api-server.rispec.md +165 -0
- package/rispecs/borrowed_from_opencode/089-openapi-spec-generation.rispec.md +164 -0
- package/rispecs/borrowed_from_opencode/090-websocket-support.rispec.md +136 -0
- package/rispecs/borrowed_from_opencode/091-sse-streaming.rispec.md +168 -0
- package/rispecs/borrowed_from_opencode/092-mdns-discovery.rispec.md +145 -0
- package/rispecs/borrowed_from_opencode/093-javascript-sdk.rispec.md +200 -0
- package/rispecs/borrowed_from_opencode/094-skill-system.rispec.md +187 -0
- package/rispecs/borrowed_from_opencode/095-skill-discovery.rispec.md +182 -0
- package/rispecs/borrowed_from_opencode/096-desktop-remote-driving.rispec.md +175 -0
- package/rispecs/borrowed_from_opencode/INDEX.md +255 -0
- package/rispecs/core.rispecs.md +261 -0
- package/rispecs/engines.rispecs.md +241 -0
- package/rispecs/formatting.rispecs.md +252 -0
- package/rispecs/living-specifications.rispecs.md +361 -0
- package/rispecs/mcp.rispecs.md +197 -0
- package/rispecs/pde.rispecs.md +399 -0
- package/rispecs/pi-mono-envisionning/ENVISIONING.md +366 -0
- package/rispecs/pi-mono-envisionning/storytelling-horizon.rispecs.md +76 -0
- package/rispecs/pi-mono-envisionning/widget.rispecs.md +2 -0
- package/rispecs/relation-to-mcp-structural-thinking.kin.md +72 -0
- package/rispecs/research-for-better-framework/CLAUDE.md +7 -0
- package/rispecs/research-for-better-framework/survey-pi-openclaw-opencode-openhands.md +210 -0
- package/rispecs/session.rispecs.md +277 -0
- package/rispecs/stc.rispecs.md +138 -0
- package/rispecs/unifier.rispecs.md +317 -0
- package/scripts/LAUNCH--mcp-mia-code--testing--2603141315--ac705a66-2c15-4a1c-a26d-9491018c5ba8.sh +2 -0
- package/scripts/RESUME--mia-code--mcps--260313--ac705a66-2c15-4a1c-a26d-9491018c5ba8.sh +1 -0
- package/scripts/install-widget-in-home-pi-agent-extensions.sh +4 -0
- package/scripts/sample-decompose--2604011535-prompt.sh +1 -0
- package/skills/deep-search/AGENTS.md +17 -0
- package/skills/deep-search/SKILL.md +281 -0
- package/skills/deep-search/agent-templates.md +224 -0
- package/skills/deep-search/orchestration-patterns.md +95 -0
- package/skills/miaco-pde-inquiry-routing-deep-search/AGENTS.md +13 -0
- package/skills/miaco-pde-inquiry-routing-deep-search/SKILL.md +136 -0
- package/skills/miaco-pde-inquiry-routing-internal-external-relationship/AGENTS.md +4 -0
- package/skills/miaco-pde-inquiry-routing-internal-external-relationship/SKILL.md +157 -0
- package/skills/miaco-pde-inquiry-routing-local-qmd/AGENTS.md +42 -0
- package/skills/miaco-pde-inquiry-routing-local-qmd/SKILL.md +135 -0
- package/skills/qmd/AGENTS.md +3 -0
- package/skills/qmd/SKILL.md +144 -0
- package/skills/qmd/references/mcp-setup.md +102 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/SKILL.md +234 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/agent-templates.md +436 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/orchestration-patterns.md +197 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/ceremonial-technology.md +102 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/creative-orientation.md +99 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/prompt-decomposition.md +73 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/rise-framework.md +74 -0
- package/skills/rise-pde-inquiry-session-multi-agents-v3/references/structural-tension.md +82 -0
- package/src/cli.ts +35 -11
- package/src/geminiHeadless.ts +7 -2
- package/src/index.ts +2 -1
- package/src/mcp/miaco-server.ts +13 -1
- package/src/mcp/miatel-server.ts +13 -1
- package/src/mcp/miawa-server.ts +13 -1
- package/src/mcp/utils.ts +41 -8
- package/src/sessionStore.ts +44 -4
- package/src/types.ts +2 -1
- package/widget/mia-ceremony/README.md +36 -0
- package/widget/mia-ceremony/index.ts +143 -0
- package/widget/mia-interceptor/README.md +39 -0
- package/widget/mia-interceptor/index.ts +221 -0
- package/widget/mia-tools/README.md +37 -0
- package/widget/mia-tools/index.ts +569 -0
- package/widget/miette-echo/README.md +44 -0
- package/widget/miette-echo/index.ts +164 -0
- package/.claude/settings.local.json +0 -9
- package/.hch/issue_.env +0 -4
- package/.hch/issue_add__2601211715.json +0 -77
- package/.hch/issue_add__2601211715.md +0 -4
- package/.hch/issue_add__2602242020.json +0 -78
- package/.hch/issue_add__2602242020.md +0 -7
- package/.hch/issues.json +0 -2312
- package/.hch/issues.md +0 -30
- package/WS__mia-code__260214__IAIP_PDE.code-workspace +0 -29
- package/WS__mia-code__src332__260122.code-workspace +0 -23
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/checkpoints/index.md +0 -6
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/events.jsonl +0 -213
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/plan.md +0 -243
- package/samples/copilot/session-state/be76abaa-a27f-4725-b2a9-22fb45f7e0f7/workspace.yaml +0 -5
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
MARCO: Multi-Agent Real-time Chat Orchestration
|
|
2
|
+
|
|
3
|
+
Anubhav Shrimal1, Stanley Kanagaraj1, Kriti Biswas1,
|
|
4
|
+
Swarnalatha Raghuraman1, Anish Nediyanchath1,
|
|
5
|
+
Yi Zhang2 and Promod Yenigalla1
|
|
6
|
+
1Retail Business Services, Amazon
|
|
7
|
+
2AWS Bedrock, Amazon
|
|
8
|
+
{shrimaa, kstanly, kritibw, rswarnal, anishned,
|
|
9
|
+
yizhngn, promy}@amazon.com
|
|
10
|
+
|
|
11
|
+
4
|
|
12
|
+
2
|
|
13
|
+
0
|
|
14
|
+
2
|
|
15
|
+
|
|
16
|
+
t
|
|
17
|
+
c
|
|
18
|
+
O
|
|
19
|
+
9
|
|
20
|
+
2
|
|
21
|
+
|
|
22
|
+
]
|
|
23
|
+
I
|
|
24
|
+
|
|
25
|
+
A
|
|
26
|
+
.
|
|
27
|
+
s
|
|
28
|
+
c
|
|
29
|
+
[
|
|
30
|
+
|
|
31
|
+
1
|
|
32
|
+
v
|
|
33
|
+
4
|
|
34
|
+
8
|
|
35
|
+
7
|
|
36
|
+
1
|
|
37
|
+
2
|
|
38
|
+
.
|
|
39
|
+
0
|
|
40
|
+
1
|
|
41
|
+
4
|
|
42
|
+
2
|
|
43
|
+
:
|
|
44
|
+
v
|
|
45
|
+
i
|
|
46
|
+
X
|
|
47
|
+
r
|
|
48
|
+
a
|
|
49
|
+
|
|
50
|
+
Abstract
|
|
51
|
+
|
|
52
|
+
Large language model advancements have en-
|
|
53
|
+
abled the development of multi-agent frame-
|
|
54
|
+
works to tackle complex, real-world problems
|
|
55
|
+
such as to automate tasks that require interac-
|
|
56
|
+
tions with diverse tools, reasoning, and human
|
|
57
|
+
collaboration. We present MARCO, a Multi-Agent Real-time Chat Orchestration framework
|
|
58
|
+
for automating tasks using LLMs. MARCO ad-
|
|
59
|
+
dresses key challenges in utilizing LLMs for
|
|
60
|
+
complex, multi-step task execution. It incorpo-
|
|
61
|
+
rates robust guardrails to steer LLM behavior,
|
|
62
|
+
validate outputs, and recover from errors that
|
|
63
|
+
stem from inconsistent output formatting,
|
|
64
|
+
function and parameter hallucination, and lack
|
|
65
|
+
of domain knowledge. Through extensive experi-
|
|
66
|
+
ments we demonstrate MARCO’s superior per-
|
|
67
|
+
formance with 94.48% and 92.74% accuracy
|
|
68
|
+
on task execution for Digital Restaurant Ser-
|
|
69
|
+
vice Platform conversations and Retail conver-
|
|
70
|
+
sations datasets respectively along with 44.91%
|
|
71
|
+
improved latency and 33.71% cost reduction.
|
|
72
|
+
We also report effects of guardrails in perfor-
|
|
73
|
+
mance gain along with comparisons of various
|
|
74
|
+
LLM models, both open-source and proprietary.
|
|
75
|
+
The modular and generic design of MARCO
|
|
76
|
+
allows it to be adapted for automating tasks
|
|
77
|
+
across domains and to execute complex use-
|
|
78
|
+
cases through multi-turn interactions.
|
|
79
|
+
|
|
80
|
+
1
|
|
81
|
+
|
|
82
|
+
Introduction
|
|
83
|
+
|
|
84
|
+
Advancements in LLM technology has led to a
|
|
85
|
+
lot of interest in applying Agents framework to
|
|
86
|
+
realise solutions which require complex interac-
|
|
87
|
+
tions with the environment including planning,
|
|
88
|
+
tools usage, reasoning, interaction with humans.
|
|
89
|
+
Recent works (Wang et al., 2024; Huang et al.,
|
|
90
|
+
2024) demonstrate potential of LLMs for creating
|
|
91
|
+
autonomous Agents while there are numerous chal-
|
|
92
|
+
lenges to overcome and provide a seamless experi-
|
|
93
|
+
ence for end users who interact with the system at a
|
|
94
|
+
daily basis. LLMs are probabilistic next token pre-
|
|
95
|
+
diction systems and by design, non-deterministic
|
|
96
|
+
|
|
97
|
+
which can introduce inconsistencies in the output
|
|
98
|
+
generation that can prove challenging for features
|
|
99
|
+
like function calling, parameter value grounding,
|
|
100
|
+
etc. There are also challenges of domain specific
|
|
101
|
+
knowledge which can be an advantage and dis-
|
|
102
|
+
advantage at the same time. LLMs have biases
|
|
103
|
+
inherent in them which can lead to hallucinations,
|
|
104
|
+
at the same time it may not have the right internal
|
|
105
|
+
domain specific context which needs to be provided
|
|
106
|
+
to get the expected results from an LLM.
|
|
107
|
+
|
|
108
|
+
We present our work on building a real time con-
|
|
109
|
+
versational task automation assistant framework
|
|
110
|
+
with the following emphasis, (1) Multi-turn In-
|
|
111
|
+
terface for, (a) User conversation to execute tasks
|
|
112
|
+
(b) Executing tools with deterministic graphs pro-
|
|
113
|
+
viding status updates, intermediate results and re-
|
|
114
|
+
quests to fetch additional inputs or clarify from
|
|
115
|
+
user. (2) Controllable Agents using a symbolic
|
|
116
|
+
plan expressed in natural language task execution
|
|
117
|
+
procedure (TEP) to guide the agents through the
|
|
118
|
+
conversation and steps required to solve the task
|
|
119
|
+
(3) Shared Hybrid Memory structure, with Long
|
|
120
|
+
term memory shared across agents which stores
|
|
121
|
+
complete context information with Agent TEPs,
|
|
122
|
+
tool updates, dynamic information and conversa-
|
|
123
|
+
tion turns. (4) Guardrails for ensuring correctness
|
|
124
|
+
of tool invocations, recover for common LLM error
|
|
125
|
+
conditions using reflection and to ensure general
|
|
126
|
+
safety of the system. (5) Evaluation mechanism
|
|
127
|
+
for different aspects and tasks of a multi-agent sys-
|
|
128
|
+
tem.
|
|
129
|
+
|
|
130
|
+
This is demonstrated in the context of task au-
|
|
131
|
+
tomation assistant which supports adding usecase
|
|
132
|
+
tasks to provide users a conversational interface
|
|
133
|
+
where they can perform their intended actions, mak-
|
|
134
|
+
ing it easier for them to refer to informational doc-
|
|
135
|
+
uments, interact with multiple tools, perform ac-
|
|
136
|
+
tions on them while unifying their interfaces. We
|
|
137
|
+
provide detailed comparison across multiple foun-
|
|
138
|
+
dational LLMs as backbone for our assistant tasks
|
|
139
|
+
like Claude Family models (Anthropic, 2024), Mis-
|
|
140
|
+
|
|
141
|
+
tral Family models (Jiang et al., 2023, 2024) and
|
|
142
|
+
Llama-3-8B (AI@Meta, 2024) on Digital Restau-
|
|
143
|
+
rant Service Platform (DRSP) conversations and
|
|
144
|
+
Retail conversations (Retail-Conv) datasets.
|
|
145
|
+
|
|
146
|
+
2 Related Work
|
|
147
|
+
|
|
148
|
+
Improvements to LLM technology through the re-
|
|
149
|
+
lease of foundational LLMs like GPT-4 (OpenAI
|
|
150
|
+
et al., 2024), Claude (Anthropic, 2024) and Mix-
|
|
151
|
+
tral (Jiang et al., 2024) has led to a flurry of research
|
|
152
|
+
around autonomous agents and frameworks (Wang
|
|
153
|
+
et al., 2024; Huang et al., 2024). Zero shot Chain-
|
|
154
|
+
of-Thought (COT) reasoning (Kojima et al., 2023)
|
|
155
|
+
allows LLMs to perform task reasoning by mak-
|
|
156
|
+
ing it think step by step. LLMs can invoke exter-
|
|
157
|
+
nal tools based on natural language instructions.
|
|
158
|
+
HuggingGPT (Shen et al., 2023b) can coin series
|
|
159
|
+
of model invocations to achieve complex tasks
|
|
160
|
+
mentioned by the user. Toolformer (Schick et al.,
|
|
161
|
+
2023) demonstrates how LLMs can be used as ex-
|
|
162
|
+
ternal tools through API invocations selecting the
|
|
163
|
+
right arguments to be passed from few examples
|
|
164
|
+
and textual instructions. Agents framework (Zhou
|
|
165
|
+
et al., 2023) discuss using natural language sym-
|
|
166
|
+
bolic plans called (Standard Operating Procedures)
|
|
167
|
+
SOPs which define transition rules between states
|
|
168
|
+
as the agent encounters different situations to pro-
|
|
169
|
+
vide more control over agent behavior along with
|
|
170
|
+
memory to store relevant state information within
|
|
171
|
+
the prompt (Fischer, 2023; Rana et al., 2023) or
|
|
172
|
+
long term context externally (Zhu et al., 2023; Park
|
|
173
|
+
et al., 2023). Amazon Bedrock Agents 1 provide
|
|
174
|
+
interface to quickly build, configure and deploy au-
|
|
175
|
+
tonomous agents into business applications leverag-
|
|
176
|
+
ing the strength of foundational models, while the
|
|
177
|
+
framework abstracts the Agent prompt, memory,
|
|
178
|
+
security and API invocations. LangGraph 2 is an ex-
|
|
179
|
+
tension of LangChain which facilitates the creation
|
|
180
|
+
of stateful, multi-actor applications using large lan-
|
|
181
|
+
guage models (LLMs) by adding cycles and per-
|
|
182
|
+
sistence to LLM applications thus enhancing their
|
|
183
|
+
Agentic behavior. It coordinates and checkpoints
|
|
184
|
+
multiple chains (or actors) across cyclic computa-
|
|
185
|
+
tional steps. While these frameworks present novel
|
|
186
|
+
ways for LLMs to act in a desired behaviour, they
|
|
187
|
+
often have accuracy-latency trade-off where to im-
|
|
188
|
+
prove on the accuracy the system latency increases
|
|
189
|
+
due to multi-step planning and thinking (Yao et al.,
|
|
190
|
+
2023; Wei et al., 2023). Our proposed solution,
|
|
191
|
+
|
|
192
|
+
1Amazon Bedrock Agents User Guide
|
|
193
|
+
2LangGraph library
|
|
194
|
+
|
|
195
|
+
MARCO, not only interacts with user in a multi-turn fashion but also has multi-turn conversation
|
|
196
|
+
with deterministic multi-step functions which com-
|
|
197
|
+
prises of pre-determined business logic or task ex-
|
|
198
|
+
ecution procedure (TEP) requiring agents only at
|
|
199
|
+
intelligent intervention related steps. Along with
|
|
200
|
+
the usecase TEPs, multi-step functions and robust
|
|
201
|
+
guardrails to steer LLM behaviour, MARCO is
|
|
202
|
+
able to perform complex tasks with high accuracy
|
|
203
|
+
in less time as detailed in subsequent sections.
|
|
204
|
+
|
|
205
|
+
3 MARCO: Multi-Agent Real-time Chat
|
|
206
|
+
|
|
207
|
+
Orchestration
|
|
208
|
+
|
|
209
|
+
In this section, we discuss our approach for
|
|
210
|
+
MARCO. Section 3.1 formulates the problem state-
|
|
211
|
+
ment in terms of Task Automation via real-time
|
|
212
|
+
chat, followed by components of MARCO in sec-
|
|
213
|
+
tion 3.2 and the evaluation methods on performance
|
|
214
|
+
and latency for MARCO in section 3.3.
|
|
215
|
+
|
|
216
|
+
3.1 Problem Statement
|
|
217
|
+
|
|
218
|
+
Given an user (Actor), who wishes to perform a
|
|
219
|
+
task with intent I ∈ {OOD, Info, Action}; where
|
|
220
|
+
Out-Of-Domain (OOD) intent is defined as any
|
|
221
|
+
user query which is not in scope of the system
|
|
222
|
+
such as malicious query to jailbreak (Shen et al.,
|
|
223
|
+
2023a; Rao et al., 2024) the system, foul lan-
|
|
224
|
+
guage or unsupported requests, “Info” intent is
|
|
225
|
+
defined as getting information from predefined
|
|
226
|
+
data-sources and indexed documents (Dindex), and
|
|
227
|
+
“Action” intent is defined as a performing a use-
|
|
228
|
+
case related task (ux) which involves following a
|
|
229
|
+
series of instructions/steps (Task Execution Pro-
|
|
230
|
+
cedure, T EPx) defined for the usecase and ac-
|
|
231
|
+
cordingly invoking the right set of tools/functions
|
|
232
|
+
(F x
|
|
233
|
+
2 , ..., F x
|
|
234
|
+
n }) with the identified re-
|
|
235
|
+
quired parameters (P x
|
|
236
|
+
∗ = {PF x
|
|
237
|
+
1 , F x
|
|
238
|
+
2 , ..., F x
|
|
239
|
+
n }, PF x
|
|
240
|
+
∗ = {PF x
|
|
241
|
+
1 , ..., PF x
|
|
242
|
+
n }
|
|
243
|
+
for each function respectively. The objective for a
|
|
244
|
+
task automation system is to, (1) interpret the user
|
|
245
|
+
intent I for each query, (2) identify the relevant
|
|
246
|
+
usecase ux, (3) understand the steps mentioned in
|
|
247
|
+
its T EPx, (4) accordingly call the right sequence
|
|
248
|
+
of tools F x
|
|
249
|
+
∗ with required parameters P x
|
|
250
|
+
∗ , (5) cor-
|
|
251
|
+
relate T EPx, tool responses and requirements and
|
|
252
|
+
conversation context to communicate back with the
|
|
253
|
+
user, and (6) be fast and responsive for a real-time
|
|
254
|
+
chat.
|
|
255
|
+
|
|
256
|
+
An example scenario is shown in figure 1 where
|
|
257
|
+
User first asks “The sale of certain item is go-
|
|
258
|
+
ing down in my restaurant. Can you please help
|
|
259
|
+
me find out why?”, i.e.
|
|
260
|
+
|