Skip to content

feat: add Folo CLI app with tests#4883

Merged
DIYgod merged 3 commits intodevfrom
DIYgod/cli-agent-client
Feb 26, 2026
Merged

feat: add Folo CLI app with tests#4883
DIYgod merged 3 commits intodevfrom
DIYgod/cli-agent-client

Conversation

@DIYgod
Copy link
Member

@DIYgod DIYgod commented Feb 26, 2026

Description

This PR adds a new apps/cli package that provides an AI-agent-friendly Folo command-line client with structured JSON/table/plain outputs and consistent error envelopes. It implements auth, timeline, subscription, entry, feed, list, search, collection, OPML, and unread command groups on top of @follow-app/client-sdk. It also includes token handling improvements for encoded session tokens and cookie-compatible auth headers, plus a skill.md usage guide for agents. Tests were added with Vitest (parser/output unit tests and CLI e2e tests with isolated HOME and optional real-token integration).

PR Type

  • Feature
  • Bugfix
  • Hotfix
  • Other (please describe):

Screenshots (if UI change)

N/A

Demo Video (if new feature)

N/A

Linked Issues

N/A

Additional context

Please focus review on CLI command coverage, auth/token handling behavior, and output contract stability for automation consumers.

Changelog

  • I have updated the changelog/next.md with my changes.

@safedep
Copy link

safedep bot commented Feb 26, 2026

SafeDep Report Summary

Yellow Malicious Packages Badge Red Vulnerable Packages Badge Green Risky License Badge

⚠ 2 packages are identified as suspicious, human review is recommended.

Package Details
Package Malware Vulnerability Risky License Report
icon rollup @ 4.57.1
pnpm-lock.yaml
ok icon
red cross icon
ok icon
🔗
icon tsx @ 4.21.0
pnpm-lock.yaml apps/cli/package.json
warning icon
ok icon
ok icon
🔗
icon @follow-app/client-sdk @ 0.3.92
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @types/node @ 25.2.3
pnpm-lock.yaml apps/cli/package.json
ok icon
ok icon
ok icon
🔗
icon bundle-require @ 5.1.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon cac @ 6.7.14
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon chokidar @ 4.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon commander @ 14.0.1
pnpm-lock.yaml apps/cli/package.json
ok icon
ok icon
ok icon
🔗
icon consola @ 3.4.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon debug @ 4.4.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon esbuild @ 0.25.12
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon fix-dts-default-cjs-exports @ 1.0.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon jiti @ 2.6.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon joycon @ 3.1.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon lilconfig @ 3.1.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon load-tsconfig @ 0.2.5
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon magic-string @ 0.30.21
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon mlly @ 1.8.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon pathe @ 2.0.3
pnpm-lock.yaml apps/cli/package.json
ok icon
ok icon
ok icon
🔗
icon picocolors @ 1.1.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon postcss @ 8.5.6
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon postcss-load-config @ 6.0.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon resolve-from @ 5.0.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon source-map @ 0.8.0-beta.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon sucrase @ 3.35.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon tinyexec @ 0.3.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon tinyglobby @ 0.2.15
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon tree-kill @ 1.2.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon tsup @ 8.5.0
pnpm-lock.yaml apps/cli/package.json
ok icon
ok icon
ok icon
🔗
icon typescript @ 5.9.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon yaml @ 2.8.2
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗

This report is generated by SafeDep Github App

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@DIYgod DIYgod merged commit a941a2d into dev Feb 26, 2026
12 of 13 checks passed
@DIYgod DIYgod deleted the DIYgod/cli-agent-client branch February 26, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant