Skip to content

Releases: mldixdev/mythik

Mythik v0.2.1

25 May 01:27

Choose a tag to compare

Mythik 0.2.1 publishes the post-0.2.0 hardening batch for the AI-first runtime and CLI workflow.

Highlights:

  • Mythik Agent Protocol + Sentinel now guide fresh AI agents toward the canonical manifest -> elements -> patch -> validate loop and skip identical replacement writes.
  • Runtime hardening for URL resolution, exact-origin auth forwarding, editor session persistence, data sources, and contract extraction.
  • React and React Native parity fixes for interactive text, select normalization, repeat layout, stack internals, toast/modal/drawer behavior, and Android smoke coverage.
  • Documentation and LLM wiki updates covering Agent Context, Reveal, style inheritance/component variants, SQLite/native driver notes, and the 0.2.1 install surface.

Published npm packages: mythik, mythik-react, mythik-cli, mythik-server, and mythik-react-native.

Mythik v0.2.0

23 May 00:42

Choose a tag to compare

Mythik v0.2.0

Release focused on agent-safe Mythik editing. This release introduces the Agent Protocol and Mythik Reveal as public AI-agent workflows, and makes CLI spec writes strict by default so persisted changes are explicit, versionable, and reviewable.

Added

  • Added Mythik Reveal documentation across the public surface so agents know how to inspect a running app through the local Reveal Bridge before guessing about runtime behavior.
  • Added mythik agent context and mythik agent init to generate project-local AI agent operating instructions for Codex, Claude, and generic agents.

Changed

  • BREAKING: CLI and API spec writes are strict by default. Existing specs require explicit --replace, and persisted writes require --author <name> for versioned stores or explicit --allow-unversioned for intentionally unversioned stores. Machine-readable failures use MYTHIK_AGENT_* protocol codes.
  • Agent-facing docs now distinguish store-backed validation from local-file linting and recommend TOON for token-efficient reads where supported.

Migration

Update scripts that call mythik push or runPush to pass --author <name> for normal persisted writes, or --allow-unversioned only when the project intentionally has no versioned store. Use --replace only for intentional full-spec replacement.

Mythik v0.1.5

20 May 03:06

Choose a tag to compare

Mythik v0.1.5

This release publishes mythik-react-native for the first time as a public preview and aligns the public package surface around Mythik as an AI-first JSON-native app framework.

Highlights:

  • Adds the React Native preview package with a published support matrix and Expo SDK 52/53/54 installation guidance.
  • Tightens React Native peer ranges, including explicit react-native-worklets guidance.
  • Replaces the DOM-based SVG sanitizer path with a platform-safe sanitizer suitable for native runtimes.
  • Tracks $platform dependencies in selective render cache invalidation.
  • Adds React Native runtime hardening for environments without crypto.randomUUID.
  • Fixes Android smoke issues around modal centering and drawer bottom clipping.
  • Preserves accessibility semantics for divider and tabs in the React Native package.

Published npm packages:

  • mythik@0.1.5
  • mythik-react@0.1.5
  • mythik-cli@0.1.5
  • mythik-server@0.1.5
  • mythik-react-native@0.1.5

Mythik v0.1.4

12 May 00:54

Choose a tag to compare

Mythik v0.1.4

Patch release focused on install-surface hygiene and runtime diagnostics.

Changed

  • Moved SQL adapters (mssql, pg, mysql2, and better-sqlite3) from installed-by-default optional dependencies to optional peer dependencies. Browser-only installs no longer pull database drivers; SQL-backed stores and servers install the selected driver explicitly.

Added

  • Added fetch.params.errorTarget so direct fetch actions can write HTTP/network failures to a screen-owned error path and clear that path on success. This gives critical initialActions screen loads a first-class visible error contract without relying only on global /ui/lastError.
  • Added select.props.labelKey and select.props.valueKey for catalog-shaped option rows such as { id, name }.
  • Added install-command metadata to missing SQL driver errors so optional peer dependency failures point directly to the required package.

Fixed

  • Hardened select option normalization so malformed option data renders disabled diagnostics instead of crashing or producing blank clickable rows.
  • Documented SQLite's native better-sqlite3 install path so transitive native-build warnings are understood as adapter-level warnings, not Mythik runtime failures.

Mythik v0.1.3

09 May 10:28

Choose a tag to compare

0.1.3

Compatible release for the 0.1.x line. This expands the database foundation
with generic SQL drivers and stores while preserving the existing public package
contracts.

Added

  • Added a dialect-aware SQL boundary under mythik/server with drivers for SQL Server, PostgreSQL, MySQL, and SQLite.
  • Added generic SQL-backed spec stores: SqlSpecStore, SqlVersionedSpecStore, and SqlEnvironmentStore.
  • Added canonical SQL store DDL plus mythik init-store --dialect <sqlserver|postgres|mysql|sqlite> for explicit table initialization and --dry-run review.
  • Extended the CLI store resolver so manifest, elements, patch, validate, versioned stores, and environment stores work against SQL Server, PostgreSQL, MySQL, and SQLite with one edit loop.
  • Added dialect-aware mythik-server support for generated CRUD, catalogs, auth provider queries, scope filters, pagination, totals, query endpoints, and spec serving.
  • Added integration and smoke coverage across real SQL-backed workflows, including SQLite, SQL Server, PostgreSQL, and MySQL validation paths.

Changed

  • Moved SQL Server runtime access onto the same SQL driver boundary used by the new dialects while keeping SQL Server compatibility stores available from mythik/server.
  • Kept the browser-safe mythik entry free of Node-only SQL imports; SQL drivers and stores remain behind mythik/server.
  • Declared SQL adapters (mssql, pg, mysql2, and better-sqlite3) as optional dependencies of mythik. npm and pnpm install them by default unless optional dependencies are omitted.
  • Generated MySQL upsert SQL now targets MySQL 8.0.19+.

Fixed

  • Hardened MySQL insert/update responses for non-RETURNING behavior by selecting inserted or updated records back through the primary key path.
  • Hardened SQL generation and execution edge cases: table overrides, safe scope-filter composition, deterministic pagination fallback, SQL Server aggregate ORDER BY stripping, SQL store initialization, timestamp binding, transaction behavior, and shared-driver cleanup in CLI stores.
  • Hardened expression and action contracts: dotted $let references for $ref and $template, params.skipIf dispatch-time guards, and event arrays containing both actions and transactions.

Documentation

  • Refreshed docs/consumer, bundled docs, package READMEs, and the compiled LLM wiki with the new multi-database, SQL-store, CLI, event-binding, and expression contracts.

Mythik v0.1.2

07 May 07:59

Choose a tag to compare

Patch release focused on published-package hardening.

  • Fixed DNA numeric seed normalization so legacy 0-100 values such as roundness: 79 normalize the same way during initial AppSpec load and runtime updateTokens.
  • Fixed transaction rollback error handling so /tx/error is written after rollback and preserves backend error details (message, code, HTTP status, raw data) plus custom Error properties.
  • Fixed scoped offset-pagination totals for generated counts by applying scopeFilter before COUNT(*), so total matches the same tenant/role slice as returned rows.
  • Added {{scopeWhere[:alias]}} and {{scopeAnd[:alias]}} macros for custom endpoint.count SQL with scopeFilter, including bypass-role expansion to an empty clause.