diff --git a/README.md b/README.md index 803035c..f10638b 100644 --- a/README.md +++ b/README.md @@ -109,28 +109,25 @@ change it. - **Projects.** The environment's MainSequence projects with their repository branches. **Set up project locally** prepares every member branch in its own checkout and hands the workspace to Codex, with a project `AGENTS.md`. -- **Releases.** The environment's APIs, agents and static sites, each with its last ten - runs of the last 7 days (or 1, 30 or 90) as colored dots and how many of them succeeded (superseded, - cancelled and skipped runs don't count), and the date and time it last deployed or its last - run ended; filter by kind, or by the repository of a local folder (**Code → View releases**). - Releases that are deploying come first, with their commit, stage, start time and elapsed - time. A release shows the commit it serves and since when, the one it wants and when it - was requested, its success rate, median time, slowest stage and most common failure over - the last day (or 7, 30 or 90 days), and its runs by start date and time; a run opens its stages and logs. - Times are in the machine's time zone, which the panel names. - Read-only. Nothing is read again while nothing deploys. While a shown run is queued or - running, the panel checks only the active runs every 30 s and reads the screen again - once one of them ends; checks wait while the panel is hidden and pause after an hour +- **Releases.** The deployment history of the environment's APIs, agents and static + sites, as in Command Center: one row per deployment, newest first, with repository, + release, branch, commit, date and time, state, stages, duration and source. No workflow + runs, Jobs or image builds. It opens on the last day (or 7, 30 or 90); filter by type, + or by the repository of a local folder (**Code → View releases**). A deployment opens + its stages and logs. Times are in the machine's time zone, which the panel names. + Read-only. Nothing is read again while nothing deploys. While a shown deployment is + queued or running, the panel checks only those every 30 s and reads the history again + once one ends or starts; checks wait while the panel is hidden and pause after an hour (**Refresh** starts them again). - **Deployments.** The latest run of a repository branch, its stages and logs, and the environment's deployment history, including jobs and images. A running deployment's details are read again every 10 s while they are on screen, with the same pauses. Read-only. -- **Ask about deployments.** "What is deploying right now?", "How reliable has - pricing-api been this month?", "Wait for that deployment to finish." Codex reads - releases, their history and stats, and the active runs with `mainsequence_workspace`, - and waits for a run at most two minutes per call, calling again while it still runs. - None of these reads deploys anything. +- **Ask about deployments.** "What is deploying right now?", "What was deployed this + week?", "Wait for that deployment to finish." Codex reads the release deployment + history and what is deploying with `mainsequence_workspace`, and waits for a deployment + at most two minutes per call, calling again while it still runs. None of these reads + deploys anything. - **Activity.** Running and finished operations with progress, results and cancellation. - **`/ms` commands.** In Codex desktop, type `/ms`, select **ms** from the slash menu, append the arguments and submit, for example `/ms --help`, `/ms status`, `/ms sync`. The diff --git a/docs/agents-tools-panel.md b/docs/agents-tools-panel.md index a300d24..0983d91 100644 --- a/docs/agents-tools-panel.md +++ b/docs/agents-tools-panel.md @@ -15,7 +15,7 @@ stay unchanged. No probe or custom Codex build is shipped. | Tools | Saved connections, Add MCP, connect/disconnect review, fresh schemas, explicit JSON tool-call review; catalog cache survives refresh failure; stable model-facing discovery/call tools | | Code | Remote/local search, branch selection, setup with optional install; folder/type, status/resolve/SDK; sync/install/SDK update and preview; instructions/skills and preview/sync; environment cleanup; Docker build preview; devcontainer preview/write; local deletion preview and explicit confirmation | | Projects | Search/pages, branch counts, descriptions, repository/branch links; local setup/update with Codex AGENTS.md; progress, cancellation, partial-effect reporting and explicit native workspace handoff | -| Releases | Environment releases (APIs, agents, static sites) over the last 7 days by default or 1, 30 or 90, with kind and local-repository filters, the last ten run states, success counts or the last failure, when each last deployed or its last run ended, deploying releases first with commit, stage, start and elapsed time, pages; a release's serving revision and since when, the wanted one and when it was requested, stats over the last day by default or 7, 30 or 90 days (runs, success rate, median time, slowest stage, most common failure) and runs by start date and time that open the run detail; dates and times in the machine's zone, named under the list; read-only. No re-read while nothing deploys; while a shown run is active, `deployment-active` every 30 s and one re-read when a watched run ends; checks wait while hidden, never overlap and pause after an hour | +| Releases | The deployment history of resource releases only (APIs, agents, static sites), as in Command Center: one row per deployment, newest first, over the last day by default or 7, 30 or 90, with type and local-repository filters, repository and release, branch, commit, start, state, stage progress, duration, source and error; pages; a deployment opens its stages and logs; dates and times in the machine's zone, named under the history; read-only. No re-read while nothing deploys; while a shown deployment is active, `deployment-active` every 30 s and one re-read when one ends or starts; checks wait while hidden, never overlap and pause after an hour | | Deployments | Environment/branch history, pages, run/workflow stages, related runs, durations, errors, stage logs, log filtering/cursors; a running run's details re-read every 10 s while shown and visible, pausing after an hour; read-only | | Settings | Existing shared account, browser login, connection check, renewal, explicit shared sign-out; repositories folder/backend/Command Center settings; diagnostics and local scan | | Activity | Agent receipts/tasks plus accepted workspace operations, progress, explicit cancellation and results; accepted workspace work survives panel close/native Stop while the server remains alive | @@ -173,7 +173,7 @@ updates the plugin. | `mainsequence_agent_status` | Saved request/receipt list, get and wait; no sending | | `mainsequence_agent_task` | Owned saved-task get, wait and cancellation | | `mainsequence_submission` | App-only native submission acknowledgement bookkeeping; no remote dispatch | -| `mainsequence_workspace` | Scoped repository/SDK/local status, previews and public deployment reads: history, runs, logs, releases (`deployment-releases`, `deployment-release`), active runs (`deployment-active`) and `deployment-wait`, at most 120 s per call | +| `mainsequence_workspace` | Scoped repository/SDK/local status, previews and public deployment reads: history, runs, logs, resource release deployment history (`deployment-release-history`), those in progress (`deployment-active`) and `deployment-wait`, at most 120 s per call | | `mainsequence_action` | Reviewed allowlisted devtools repository/project operations | | `mainsequence_operations` | Host-owned accepted-operation status and cancellation | | `mainsequence_settings` | Public shared preferences and existing shared-session login/renewal/sign-out | diff --git a/manifests/codex/.codex-plugin/plugin.json b/manifests/codex/.codex-plugin/plugin.json index 0cc4889..2ffdf1e 100644 --- a/manifests/codex/.codex-plugin/plugin.json +++ b/manifests/codex/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "mainsequence", - "version": "0.7.16", + "version": "0.7.17", "description": "Message MainSequence agents in Codex chat, recover saved replies, discover project MCPs and run developer commands using your shared session.", "author": { "name": "MainSequence" diff --git a/package-lock.json b/package-lock.json index f0c3d7b..e84f963 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@dev-mainsequence/codex-plugin", - "version": "0.7.16", + "version": "0.7.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dev-mainsequence/codex-plugin", - "version": "0.7.16", + "version": "0.7.17", "license": "MIT", "dependencies": { - "@dev-mainsequence/devtools": "0.3.20" + "@dev-mainsequence/devtools": "0.3.22" }, "bin": { "ms-devtools": "dist/runner.js" @@ -23,9 +23,9 @@ } }, "node_modules/@dev-mainsequence/devtools": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@dev-mainsequence/devtools/-/devtools-0.3.20.tgz", - "integrity": "sha512-3nXPGBNLpK/DBGIIe6xQ88WwOdKweeS55Ae91WVGgX2693KR6dUXk1WrRJODo6JqP/1dyj8Es8L/5SvaOpsY8Q==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@dev-mainsequence/devtools/-/devtools-0.3.22.tgz", + "integrity": "sha512-7PbnOtnIcWTJg9Brd67CNHZ6avJUdiHBkVi7viSQZ6L0+8qc3EWIzIGRTgvijfSmktD0qYR2QcHg1ZjY61AiIA==", "license": "MIT", "bin": { "ms-devtools": "dist/runner.js" diff --git a/package.json b/package.json index 687b236..13eb3aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dev-mainsequence/codex-plugin", - "version": "0.7.16", + "version": "0.7.17", "description": "MainSequence for Codex: durable agent messaging in native chat, Agents and Tools discovery, developer commands and conversational MCPs", "license": "MIT", "engines": { @@ -40,7 +40,7 @@ "check:docs": "node scripts/check-docs.cjs" }, "dependencies": { - "@dev-mainsequence/devtools": "0.3.20" + "@dev-mainsequence/devtools": "0.3.22" }, "devDependencies": { "@types/node": "18.19.130", diff --git a/src/hosts/panel/panel.html b/src/hosts/panel/panel.html index e2577fc..4e89ca3 100644 --- a/src/hosts/panel/panel.html +++ b/src/hosts/panel/panel.html @@ -7,7 +7,7 @@ .account-name[data-status=connected]:before{color:var(--color-text-success,light-dark(#16803d,#40c977))}.account-name[data-status=error]:before{color:var(--color-text-danger,light-dark(#b42318,#ff6764))}.account-name[data-status=warning]:before{color:var(--color-text-warning,light-dark(#9a6700,#e3b341))}#login-notice:empty{display:none}#login-notice{font-size:12px;padding-top:8px;color:var(--color-text-warning,light-dark(#9a6700,#e3b341))}.account-row select{width:auto;min-width:132px;max-width:220px} @media(max-width:400px){.header{padding:14px 12px 0}.content{padding:8px 12px 16px}.account-row{gap:4px}.utility{margin-left:0}.account-name{font-size:12px}.account-row select{max-width:180px}nav button{padding:5px 7px}.toolbar{flex-wrap:wrap}button{max-width:100%;white-space:normal}.row.between{flex-wrap:wrap}.card{padding:10px}} .brand{flex-wrap:wrap;row-gap:2px}.version{color:var(--muted);font-size:12px}.release{gap:6px;font-size:12px;white-space:normal}.release button{min-height:24px;padding:2px 8px;font-size:12px}.release .ok{color:var(--color-text-success,light-dark(#16803d,#40c977))}.release .warn{color:var(--color-text-warning,light-dark(#9a6700,#e3b341))}.plugin-help{margin:10px 0 0} -.chips{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0 4px}.chips button{min-height:26px;padding:2px 10px;font-size:12px;border-color:var(--border);color:var(--muted)}.chips button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:transparent}.badge{display:inline-block;font-size:11px;line-height:16px;padding:0 6px;border:1px solid var(--border);border-radius:999px;color:var(--muted);white-space:nowrap;font-weight:400}.badge[class*=tone-]{border-color:currentColor}.dots{display:inline-flex;gap:3px;align-items:center;min-height:12px}.dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.tone-ok{color:var(--color-text-success,light-dark(#16803d,#40c977))}.tone-bad{color:var(--color-text-danger,light-dark(#b42318,#ff6764))}.tone-off{color:var(--color-text-tertiary,light-dark(#9a9a9a,#6f6f6f))}.tone-live{color:var(--color-text-info,light-dark(#0969da,#4493f8))}.release-end{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;align-self:flex-start;padding-top:5px}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0}.tile{border:1px solid var(--border);border-radius:var(--border-radius-lg,10px);padding:10px 12px;min-width:0}.tile strong{display:block;font-size:17px;font-weight:600;margin:2px 0;overflow-wrap:anywhere}.table-wrap{overflow-x:auto;margin:8px 0}table.runs{width:100%;border-collapse:collapse;font-size:12px}.runs th{text-align:left;font-weight:500;color:var(--muted);padding:6px 10px 6px 0;border-bottom:1px solid var(--border);white-space:nowrap}.runs td{padding:6px 10px 6px 0;border-bottom:1px solid var(--border);white-space:nowrap;vertical-align:middle}.runs td button.name{font-weight:500;font-size:12px;min-height:20px;white-space:nowrap}.runs td .since{margin-left:6px;font-size:12px}.watch-note:empty{display:none} +.chips{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0 4px}.chips button{min-height:26px;padding:2px 10px;font-size:12px;border-color:var(--border);color:var(--muted)}.chips button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:transparent}.badge{display:inline-block;font-size:11px;line-height:16px;padding:0 6px;border:1px solid var(--border);border-radius:999px;color:var(--muted);white-space:nowrap;font-weight:400}.badge[class*=tone-]{border-color:currentColor}.dots{display:inline-flex;gap:3px;align-items:center;min-height:12px}.dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.tone-ok{color:var(--color-text-success,light-dark(#16803d,#40c977))}.tone-bad{color:var(--color-text-danger,light-dark(#b42318,#ff6764))}.tone-off{color:var(--color-text-tertiary,light-dark(#9a9a9a,#6f6f6f))}.tone-live{color:var(--color-text-info,light-dark(#0969da,#4493f8))}.tone-warn{color:var(--color-text-warning,light-dark(#9a6700,#e3b341))}.release-end{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;align-self:flex-start;padding-top:5px}.watch-note:empty{display:none}