Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ version and its date. Versions follow semantic versioning: a major version
when people have to change their setup, a minor one for new skills or
abilities, a patch for fixes.

## 1.1.30 - 2026-12-01

- In the hosted IDE, `ironflock-dev-run` can discover the current app’s DEV tools and use them on the selected development device when the workspace MCP connection offers them.

## 1.1.29 - 2026-11-30

- The new `ironflock-app-store` skill writes a buyer-facing app README and creates a themed hero from populated DEV board screenshots. It includes a collage template and the upload workflow for public store images.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.29
1.1.30
2 changes: 1 addition & 1 deletion plugins/ironflock-appliance/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ironflock-appliance",
"displayName": "IronFlock Appliance",
"version": "1.1.29",
"version": "1.1.30",
"description": "Add a direct connection from Claude Code to your IronFlock appliance. Configure the appliance’s HTTPS MCP address and sign in to that installation.",
"author": {
"name": "IronFlock",
Expand Down
2 changes: 1 addition & 1 deletion plugins/ironflock-dev/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ironflock-dev",
"displayName": "IronFlock Dev",
"version": "1.1.29",
"version": "1.1.30",
"description": "Build on IronFlock: design and scaffold edge apps that keep their state in the app's tables and embed their devices' web UIs in the board, write and validate their .ironflock templates (boards and widgets, data tables, app parameters, remote-access ports, AI agents), and create, change and check the board widgets themselves (@ironflock/widget-* Lit components). Needs the ironflock plugin, which Claude Code installs with it.",
"author": {
"name": "IronFlock",
Expand Down
14 changes: 12 additions & 2 deletions plugins/ironflock-dev/skills/ironflock-dev-run/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: ironflock-dev-run
description: Use in the hosted IronFlock IDE for requests about the current app’s development run, including “build the app”, “show the app logs”, “show the build logs”, “start the app” and “is it running?”. Builds the IDE working copy on a development device and checks its DEV stage through IronFlock MCP.
description: Use in the hosted IronFlock IDE to build, start or inspect the current app’s development run, read its app or build logs, and list or call its DEV app tools on a development device.
metadata:
mcp-tools: list_my_apps get_app_repository list_dev_devices build_dev_app list_builds get_build set_app_state get_app_logs check_app_status
mcp-tools: list_my_apps get_app_repository list_dev_devices build_dev_app list_builds get_build set_app_state get_app_logs check_app_status list_app_tools read_app_tool call_app_tool
---

# Work with the development run
Expand Down Expand Up @@ -39,6 +39,16 @@ device is offline, report that.
- **Start or stop.** A successful development build leaves the app stopped.
When asked to start or stop it, use `set_app_state` with explicit
`stage: "DEV"` and only the selected device.
- **Run an app tool.** To create a demo connection through the collector,
for example, call `list_app_tools` with `app_key`, `swarm_key` and explicit
`stage: "DEV"`. Choose the tool whose description and argument schema match
the request. Use `read_app_tool` for a developer-marked read-only tool
when available. For a requested change, call `call_app_tool` with the same app,
project and stage, the selected `device_key`, the listed `tool` name and
its declared `arguments`. If the requested change is ambiguous, confirm
the device, arguments and effect before calling. Report the app’s
result. If the outcome is uncertain, check whether the connection exists
before retrying.

Local editing, tests and template validation belong in the workspace. Building
an image locally or accessing an installed release requires an explicit request.
Expand Down
19 changes: 8 additions & 11 deletions plugins/ironflock-dev/skills/ironflock-templates/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,17 +341,14 @@ complete reference.
segment of the current address, so it only works on the type's page and the
asset's own page: on an asset's tab page it opens a page that does not
exist, and the list highlights nothing.
- **Refresh the transforms your code changes.** A widget that needs a
transform (a join, an aggregate, an overview of each asset's state and
counts) gets its rows on the transform's schedule tick. When the app's code
writes rows that such a transform reads, it calls
`refresh_transform("<transform>")` once after the batch (`ironflock` 1.11.0
and later; `refreshTransform` in JavaScript, `RefreshTransform` in Go): the
data backend refreshes the view and pushes its rows to every open board, so
those widgets update at once. For a table the board's forms write, the
container that follows the table refreshes after applying the change.
app-architecture.md, "Reading and writing state with the SDK", has the
details.
- **Refresh a transform through the SDK when a board needs the result of a write.**
Wait for the write or batch to finish, then call `refreshTransform` in
JavaScript (`refresh_transform` in Python) once per affected transform.
For a board form, the app container following the table can make the call
after applying the change. Keep the existing cron interval for periodic
updates. Shortening it to make a board respond to a write adds recurring
ticks even between writes. See [Reading and writing state with the SDK](references/app-architecture.md#reading-and-writing-state-with-the-sdk)
for materialized and plain views.
- **Deleted entities stay out of every list.** When an entity table has a delete
flag (its `deleted` column, the column a delete form writes),
every widget that lists the table's entities filters on that flag: the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,16 +370,16 @@ the connection, so a program that runs until it is stopped never returns from
`RuntimeError` when the platform does not come back or refuses the row. Catch
`RuntimeError` in a loop that must keep running, and buffer the rows if none
may be lost. Send high-rate readings in batches with `append_rows_to_table`.
- **Refresh the transforms your writes change.** A transform reaches the board
on its `schedule` tick. When the code writes rows that a transform reads, and
a widget shows that transform (an aggregate, a join, an overview of each
stream's state and counts), call `refresh_transform("<transform>")` right
after the writes (`ironflock` 1.11.0 and later; `refreshTransform` in
JavaScript, `RefreshTransform(ctx, name)` in Go). It runs the transform's
refresh now and pushes its rows (up to 3000) to every open board, so the
widgets bound to it show the change at once instead of at the next tick.
- Call it once after a batch of writes, not once per row. A write has been
stored when it returns, so the refresh includes it.
- **Refresh a board's calculated values after writing their inputs.** Once the
SDK confirms the write or batch, call `await ironflock.refresh_transform("station_state")`
in Python (`ironflock` 1.11.0 and later), `await ironflock.refreshTransform("station_state")`
in JavaScript, or `RefreshTransform(ctx, name)` in Go. Use the transform's
declared `tablename`. One call covers the whole batch.
- With `materialize: false`, the backend reads the plain view when it has
subscribers. With `materialize: true`, it first refreshes the stored
result if needed, which can take time. In both cases it publishes up to
3000 rows to subscribed boards. The call works independently of the cron
interval. Set that interval for the app's periodic work.
- Refresh a stack of transforms from the bottom up: each one reads the one
below as of that one's last refresh.
- Rows the board's forms write reach a transform at once when a container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,16 @@ read them.
transforms a schedule at least as frequent as the ones on top, and when the
code refreshes a stack (`refresh_transform`), refresh it from the bottom up.
- **A transform reaches open boards on its `schedule` tick, or when the app's
code refreshes it.** By itself it does not notice a change in the tables
underneath: with `* * * * *` a new record shows up up to a minute late. Code
that writes the tables a transform reads calls `refresh_transform("<transform>")`
code refreshes it.** When a board needs the result of a write, the app
that owns the transform calls `refresh_transform("<transform>")`
right after the batch (app-architecture.md, "Reading and writing state with
the SDK"), and the boards bound to the transform show the change at once. Still
the SDK"), so subscribed boards receive the result when the refresh finishes. Still
bind menus, lists and states to tables wherever filters can express what they
show (current state and deleted records are filters, see above): a table
follows every write, the board's own forms included, with no code in between.
Refresh the transforms that remain behind menus, lists and live states from
the code that writes, and give them a seconds tick for writes no code sees
(a sixth, leading field is seconds: `*/5 * * * * *`).
For writes made by a board form, the app container following the source
table can request the refresh. Choose the cron interval for periodic updates
such as a time-based calculation that changes even when no rows are written.
- **Mark app-internal tables and transforms `private: true`.** Decide this for
every table. Users of the app should see only data that means something to them:
values they analyze, chart, alarm on or build dashboards with. Internal details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ asset type (all stations of all lines, at `/station`).
When the sub-asset table lacks a parent's key, add the column to the table.
Only where the table cannot be changed, compute the route in a transform
(`'/line/' || line_id || '/station/' || station_id AS route`) and bind the
item's route to that column; that list then shows new and deleted sub-assets
only on the transform's schedule tick, so keep that schedule short.
item's route to that column. To update the list after a sub-asset is created
or deleted, have the app container that writes or follows the table call the
SDK's transform refresh after the change is stored.

## 10. Pages without the list: an explicit back button

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,5 @@ Two things follow:
schedule tick or when the app's code refreshes it, never by itself. Only
where the table cannot be changed, compute the route in a transform
(`'/line/' || line_id || '/station/' || station_id AS route`), bind the
item's route to that column, and keep the transform's schedule short.
item's route to that column, and have the app refresh the transform through
the SDK after an entity is created or deleted.
2 changes: 1 addition & 1 deletion plugins/ironflock/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ironflock",
"displayName": "IronFlock",
"version": "1.1.29",
"version": "1.1.30",
"description": "Connect Claude to IronFlock in the cloud with browser sign-in. Work with devices, apps, alarms, logs and project data. Add the optional IronFlock Appliance plugin for a direct connection to a local installation.",
"author": {
"name": "IronFlock",
Expand Down