Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4a8805e
feat(compute): add `compute logs <id>` — container stdout/stderr from…
tonychang04 Aug 27, 2026
51e7e36
fix(compute-logs): sanitize terminal escapes in human output; documen…
tonychang04 Aug 27, 2026
7574fca
fix(compute-logs): address review round 2 — telemetry, C1 controls, f…
tonychang04 Aug 27, 2026
ae71eba
chore(compute-logs): lint — const result, drop unused test import
tonychang04 Aug 27, 2026
db86956
chore(compute-logs): type test callbacks for tsc
tonychang04 Aug 27, 2026
5e2168d
fix(compute-logs): follow-loop retry, readable multi-line messages, i…
tonychang04 Aug 27, 2026
7d29de0
fix(compute-logs): same-timestamp dedupe keys; sanitize region/instance
tonychang04 Aug 27, 2026
01f4759
fix(compute-logs): clear stale follow cursor when the server stops re…
tonychang04 Aug 27, 2026
6b0dcea
fix(compute-logs): dedupe every follow poll — frozen cursor can't rep…
tonychang04 Aug 27, 2026
6bbdf43
fix(compute-logs): boundary dedupe by occurrence count, region in key
tonychang04 Aug 27, 2026
525a8b7
fix(compute-logs): only dedupe when the cursor did not advance
tonychang04 Aug 27, 2026
bd25fde
fix(compute-logs): don't block the tail on telemetry flush; handle un…
tonychang04 Aug 27, 2026
cd3bb32
fix(compute-logs): guard the follow watermark against NaN, future, an…
tonychang04 Aug 27, 2026
2cb375d
fix(compute-logs): treat implausibly future timestamps as undated eve…
tonychang04 Aug 27, 2026
1b94f6f
fix(compute-logs): scope the future-timestamp bound per page, not to …
tonychang04 Aug 27, 2026
e514b59
fix(compute-logs): make clock trust sticky, not per-page
tonychang04 Aug 28, 2026
e1ca55c
fix(compute-logs): key the undated dedupe on timestamp too
tonychang04 Aug 28, 2026
e784f82
fix(compute-logs): retry the initial fetch in follow mode too
tonychang04 Aug 28, 2026
67ba77d
fix(compute-logs): announce the tail before the first fetch, and each…
tonychang04 Aug 28, 2026
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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,17 @@ Get compute service machine events (start/stop/exit/restart).
npx @insforge/cli compute events my-api --limit 50
```

#### `npx @insforge/cli compute logs <id>`

Get container stdout/stderr (application logs) — the same data as the dashboard's Logs panel. Use `compute events` for machine lifecycle events instead.

```bash
npx @insforge/cli compute logs my-api --limit 200
npx @insforge/cli compute logs my-api --follow # poll for new lines every 2s
npx @insforge/cli --json compute logs my-api # { lines, nextToken } — pass nextToken back via --next-token to page forward
npx @insforge/cli --json compute logs my-api --follow # NDJSON: one {timestamp, message, ...} object per line
```

#### `npx @insforge/cli compute delete <id>`

Delete a compute service and its Fly.io resources.
Expand Down
6 changes: 3 additions & 3 deletions src/commands/compute/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { reportCliUsage } from '../../lib/skills.js';
import { trackCommandUsage } from '../../lib/command-telemetry.js';

// `compute events <id>` returns Fly machine lifecycle events (start/stop/exit/
// restart) — not container stdout/stderr. The previous name `compute logs`
// was misleading; container log streaming is roadmap work and will reuse the
// freshly-vacated `logs` command name when it lands.
// restart) — not container stdout/stderr. For container logs use
// `compute logs <id>`. (This command was originally named `compute logs`,
// which was misleading.)
export function registerComputeEventsCommand(computeCmd: Command): void {
computeCmd
.command('events <id>')
Expand Down
Loading
Loading