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
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"metadata": {
"description": "TryPost plugin for planning, scheduling and publishing social media posts",
"version": "2.0.0"
"version": "2.0.1"
},
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trypost",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plan, schedule and publish social media posts, manage your queue and approvals, and read post analytics in TryPost.",
"author": {
"name": "Paulo Castellano",
Expand Down
3 changes: 2 additions & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trypost",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plan, schedule and publish social media posts, manage your queue and approvals, and read post analytics in TryPost.",
"author": {
"name": "TryPost",
Expand Down Expand Up @@ -41,6 +41,7 @@
},
"extensions": {
"com.openai": {
"onboardingSkill": "./skills/setup/SKILL.md",
"review": {
"test_cases": {
"positive": [
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"name": "trypost",
"source": "./",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plan, schedule and publish social media posts, manage your queue and approvals, and read post analytics in TryPost.",
"author": {
"name": "Paulo Castellano",
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trypost",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plan, schedule and publish social media posts, manage your queue and approvals, and read post analytics in TryPost.",
"author": {
"name": "Paulo Castellano",
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ jobs:
steps:
- uses: actions/checkout@v7

- uses: actions/setup-node@v7
with:
node-version: 24

- name: Build the plugin ZIP
run: git archive --format=zip --prefix=trypost/ -o trypost-plugin.zip HEAD .codex-plugin .mcp.json skills assets
run: node scripts/build.ts

- name: Check the ZIP layout
run: |
unzip -l trypost-plugin.zip
for file in trypost/.codex-plugin/plugin.json trypost/.mcp.json trypost/skills/trypost/SKILL.md trypost/assets/icon-512.png; do
unzip -l trypost-plugin.zip "$file" > /dev/null || { echo "::error::$file is missing from the ZIP"; exit 1; }
done
- name: List the ZIP
run: unzip -l build/trypost-chatgpt.zip

- uses: actions/upload-artifact@v7
with:
name: trypost-plugin
path: trypost-plugin.zip
name: trypost-chatgpt
path: build/trypost-chatgpt.zip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ dist/
coverage/
*.tmp
*.temp
build/
2 changes: 1 addition & 1 deletion .grok-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trypost",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plan, schedule and publish social media posts, manage your queue and approvals, and read post analytics in TryPost.",
"author": {
"name": "Paulo Castellano",
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This repository packages TryPost as a plugin for Claude Code, Cursor, Grok, Chat
| Manifest and skill tests | `node --test` |
| TypeScript type check | `tsc -p .` |
| Claude plugin validation | `claude plugin validate --strict` on the plugin, its marketplace and its skills, with a pinned Claude Code version |
| OpenAI plugin package | Builds the upload ZIP, checks its layout and attaches it to the run |
| OpenAI plugin package | Builds the upload ZIP with `node scripts/build.ts` and attaches it to the run |

- Pin every tool and action: exact versions for npm packages, a major tag for GitHub actions. Pick versions released at least two weeks earlier.
- `.github/workflows/sync-skill.yml` copies the root `SKILL.md` into `skills/trypost/SKILL.md` on each release. Still keep both files identical in every commit; a test compares them.
Expand All @@ -63,7 +63,7 @@ This repository packages TryPost as a plugin for Claude Code, Cursor, Grok, Chat
- Review needs exactly five positive and three negative test cases. Positive cases name tools the skill documents.
- Never mention prices, plans, trials, discounts or upgrades in the listing or the skill.
- Never put reviewer credentials, the demo video, client secrets or the domain verification token in the package; they go in the OpenAI dashboard. The verification token is served by the TryPost app at `https://app.trypost.it/.well-known/openai-apps-challenge`.
- Build the upload with the command in the README; a test checks that it packs everything the manifest references.
- Build the upload with `node scripts/build.ts`: it writes `build/trypost-chatgpt.zip` (git-ignored) from `HEAD`. The list of packed paths lives only in `scripts/build.ts` (`pluginPaths`); `tests/build.test.ts` checks it covers everything the manifest references. Never commit the ZIP.

## Skill (`SKILL.md`)

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ This repo ships an OpenAI plugin manifest at `.codex-plugin/plugin.json`, with t
Build the ZIP to upload at [platform.openai.com/plugins](https://platform.openai.com/plugins):

```bash
git archive --format=zip --prefix=trypost/ -o trypost-plugin.zip HEAD .codex-plugin .mcp.json skills assets
node scripts/build.ts
```

Reviewer credentials, the demo video URL and the domain verification token are entered in the dashboard, never in the package.
It writes `build/trypost-chatgpt.zip` (git-ignored) from the last commit, so commit your changes before building. The demo video URL goes in `.codex-plugin/plugin.json` (`extensions.com.openai.review.demo_recording_url`); reviewer credentials and the domain verification token are entered in the dashboard, never in the package.

### Cursor plugin

Expand Down Expand Up @@ -138,6 +138,7 @@ skills/trypost/ Agent skill (SKILL.md)
mcp.json Shared MCP server definition
assets/ Logo and icons
SKILL.md Same skill, repo root (npx skills add / OpenClaw)
scripts/build.ts Builds the OpenAI plugin ZIP into build/
tests/ Manifest, MCP, skill and packaging tests (TypeScript, node --test)
tsconfig.json TypeScript settings for the tests
AGENTS.md Rules for contributors and coding agents
Expand All @@ -151,6 +152,7 @@ Everything is TypeScript, run directly by Node 24+ (no build step, no `package.j

```bash
node --test # run the tests
node scripts/build.ts # build the OpenAI plugin ZIP into build/

npm install --no-save --no-package-lock typescript@7.0.2 @types/node@24.19.0
npx tsc -p . # type-check
Expand Down
Loading
Loading