Forward quiet file-subtask EventBus frames while wait blocks, coalesce
DOM updates per rAF, and keep one SSE write per event so Stream stays
live during child work instead of freezing or dumping bursts.
Co-authored-by: Cursor <cursoragent@cursor.com>
Give the plan loop actionable observation (source excerpts, stderr/stdout tails) and short stop rules so the parent can inspect children and use stdlib helpers instead of inventing long patches.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer DONE + runtime solidify when the child already returned a value, compact parent observations, drop the SSE 8MiB raw-buffer abort, and drip-stream the view panel via POST /api/run.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reorder non-hit plan pipeline so the parent decomposes before spawning the child, stream DeepSeek thinking (reasoning_content) to TTY, and add Unicode-aware line editing for interactive input to fix CJK backspace corruption.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add net/llm SSE primitives and optional stream/echo/trace on step and plan so callers can watch deltas and rounds without changing final return values.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Parse `# Child = > Parent` object decls (base must be a simple
name after `>`; dotted bases and `# Foo = 1` are diagnostics).
- Validate in load: unknown base types and cyclic inheritance (A → B → A)
fail with line/col.
- Method resolution walks the base chain (most specific first) on both
tree and bytecode backends; `_type` stays the child name; same-name
child ## overrides the parent.
- Add inherit.rs, wire Program.object_bases, gold fixtures
(inherit-parent-method / inherit-override + cycle/unknown-base/bad-rhs)
and public 09-inherit demo pages. Docs: objects.md, markdown-mapping,
roadmap, skill.
Co-authored-by: Cursor <cursoragent@cursor.com>
- 1-col table stays a List; >=2-col becomes a column-oriented Map
(1 data row -> scalar values, >=2 -> Map of Lists).
- First header @ / 行 / row opts into row-oriented List of Maps
(marker column excluded); missing field cols is a diagnostic.
- Footnote index: `xs`[^1] (1-based list), `m`[^key] (map key), chained.
Errors for [^0], out-of-range, missing key, duplicate headers.
- foreach walks list items or map keys; Map values now display as {k: v}.
- Sync both tree and bytecode backends; new gold + error fixtures, docs
(markdown-mapping, roadmap, skill, public), and public 07/08 pages.
- Fix subtask-spawn fixture return value to child_ok (child-ok parses as
subtraction).
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture near-match, agent streaming, inheritance, table/map footnotes, plus
planned web and quantum extensions with ABI and ext-cli install conventions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Quiet spawn still hides child stdout; workbooks solidify to **returns**, agent-kb lives in the plugin, and multi-step follows OKF file relay rather than print-based answers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Document multi-step workbooks in ext-agent-plan, and make step/单步 persist ok/error slots unless writeback is turned off.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md).
Co-authored-by: Cursor <cursoragent@cursor.com>
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.
Co-authored-by: Cursor <cursoragent@cursor.com>
Consolidate official AI extensions under ext/ai/, add agent history/context host APIs, dynamic call_fn, and a first-pass TOOL:name loop so runbooks can list zero-arg tools in a table.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship ABI agent plugin helpers, marqdo ext list/add/remove, and document the agent development roadmap (compose LLM, match/assign).
Co-authored-by: Cursor <cursoragent@cursor.com>
Load .dll/.so/.dylib at runtime via libloading, register JSON-wired functions, and ship a Rust cdylib demo with lib/plugin wrappers and gold coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bump crate version, use official Logo for marqdo debug favicon/brand, and document VS Code extension assets in the Windows release script.
Co-authored-by: Cursor <cursoragent@cursor.com>
Correct ---/***/empty-return conventions and spell out marqdo catalog/sync for OKF-style YAML generation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship recommended marqdo.exe+lib bundle, a separate stdlib zip, and clear release notes that the standalone exe does not include lib/.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add marqdo debug (breakpoints/step/locals), restore view as docs with function search, and emphasize OKF-aligned knowledge-base direction.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bind `lang fences like formulas, run them via local interpreters, polish live-view code cards, and refresh bilingual welcome docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship Num/Formula runtime, bilingual math libs, SVG plots with axes/grid, and view UX for collapsible folders plus centered plots.
Co-authored-by: Cursor <cursoragent@cursor.com>
English/Chinese user pages sit side by side; L0 builtins and lib/ text|表 dual APIs land with gold coverage. Capture/view input demos use stdin:/输入: so static export and first page load succeed.
Co-authored-by: Cursor <cursoragent@cursor.com>
Tree walk logs enter_fn/stmt/leave_fn; bytecode logs op events for print/input/call/return, paving the way for view debug pause hooks.
Co-authored-by: Cursor <cursoragent@cursor.com>
Unify bytecode errors with path:line:col, support --stdin-file and live view preset stdin, and ship the S0 standard library with gold coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
End nested functions with ---/***/empty return; blank-line comment paragraphs in lex and view; brand favicon/logo; bump crate to 0.0.3.
Co-authored-by: Cursor <cursoragent@cursor.com>
Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reorganize examples into structure/keywords/errors, launch marqdo view for AST-backed browsing, and ship an M5 stack VM selectable via --backend.
Co-authored-by: Cursor <cursoragent@cursor.com>
Parse functions, calls, returns, branches, loops, tables, and imports so marqdo run passes the examples gold suite (M2–M4).
Co-authored-by: Cursor <cursoragent@cursor.com>
Document a minimal Python-inspired keyword set (print/input, True/False/None), require visible --dump-* stages, and ship working --dump-lines for .mq.md sources.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add clap-based CLI that loads .mq.md and fails loudly until eval exists; pin deps for Cargo 1.81 and verify with an integration test.
Co-authored-by: Cursor <cursoragent@cursor.com>
Interpreters need lex/parse phases via hand-written descent plus a GFM crate; record the Cargo toolchain and reject C generator frontends for Marqdo.
Co-authored-by: Cursor <cursoragent@cursor.com>