[PR #47] [MERGED] feat: add Antigravity workflow integration (official path + slash trigger) #56

Closed
opened 2026-03-03 15:47:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mindfold-ai/Trellis/pull/47
Author: @lapse12
Created: 2/26/2026
Status: Merged
Merged: 2/26/2026
Merged by: @taosu0216

Base: mainHead: codex/adapt-antigravity


📝 Commits (1)

  • 96fc723 feat(platform): add antigravity workflows with official path and trigger syntax

📊 Changes

18 files changed (+396 additions, -47 deletions)

View changed files

📝 README.md (+5 -2)
📝 README_CN.md (+4 -1)
📝 scripts/copy-templates.js (+1 -0)
📝 src/cli/index.ts (+1 -0)
📝 src/commands/init.ts (+1 -0)
src/configurators/antigravity.ts (+19 -0)
📝 src/configurators/index.ts (+12 -0)
src/templates/antigravity/index.ts (+52 -0)
📝 src/templates/extract.ts (+24 -0)
📝 src/templates/trellis/scripts/common/cli_adapter.py (+49 -12)
📝 src/templates/trellis/scripts/common/registry.py (+1 -1)
📝 src/types/ai-tools.ts (+15 -4)
📝 test/commands/init.integration.test.ts (+42 -7)
📝 test/configurators/index.test.ts (+6 -6)
📝 test/configurators/platforms.test.ts (+41 -0)
📝 test/regression.test.ts (+55 -14)
test/templates/antigravity.test.ts (+56 -0)
📝 test/templates/extract.test.ts (+12 -0)

📄 Description

Summary

  • add antigravity as a first-class platform in registry and CLI init flags
  • configure Antigravity templates into official workspace path: .agent/workflows/*.md
  • update Trellis Python cli_adapter to detect .agent/workflows and map command paths accordingly
  • adapt Antigravity workflow template content from Codex skills:
    • .agents/skills/.../SKILL.md -> .agent/workflows/... .md
    • $workflow style triggers -> /workflow style triggers
    • remove /skills UX wording for Antigravity
  • add/refresh tests for init, configurator detection, managed path checks, regression coverage, and Antigravity template adaptation

Verification

  • pnpm -s typecheck
  • pnpm -s test (23 files, 348 tests)
  • pnpm -s lint
  • pnpm -s lint:py (warnings only, no errors)

Notes

  • aligned with official Antigravity guidance: workflows live in .agent/workflows and are invoked via /workflow-name in chat.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mindfold-ai/Trellis/pull/47 **Author:** [@lapse12](https://github.com/lapse12) **Created:** 2/26/2026 **Status:** ✅ Merged **Merged:** 2/26/2026 **Merged by:** [@taosu0216](https://github.com/taosu0216) **Base:** `main` ← **Head:** `codex/adapt-antigravity` --- ### 📝 Commits (1) - [`96fc723`](https://github.com/mindfold-ai/Trellis/commit/96fc72389a40ca8245b7ac2356682bb0474cae33) feat(platform): add antigravity workflows with official path and trigger syntax ### 📊 Changes **18 files changed** (+396 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -2) 📝 `README_CN.md` (+4 -1) 📝 `scripts/copy-templates.js` (+1 -0) 📝 `src/cli/index.ts` (+1 -0) 📝 `src/commands/init.ts` (+1 -0) ➕ `src/configurators/antigravity.ts` (+19 -0) 📝 `src/configurators/index.ts` (+12 -0) ➕ `src/templates/antigravity/index.ts` (+52 -0) 📝 `src/templates/extract.ts` (+24 -0) 📝 `src/templates/trellis/scripts/common/cli_adapter.py` (+49 -12) 📝 `src/templates/trellis/scripts/common/registry.py` (+1 -1) 📝 `src/types/ai-tools.ts` (+15 -4) 📝 `test/commands/init.integration.test.ts` (+42 -7) 📝 `test/configurators/index.test.ts` (+6 -6) 📝 `test/configurators/platforms.test.ts` (+41 -0) 📝 `test/regression.test.ts` (+55 -14) ➕ `test/templates/antigravity.test.ts` (+56 -0) 📝 `test/templates/extract.test.ts` (+12 -0) </details> ### 📄 Description ## Summary - add `antigravity` as a first-class platform in registry and CLI init flags - configure Antigravity templates into official workspace path: `.agent/workflows/*.md` - update Trellis Python `cli_adapter` to detect `.agent/workflows` and map command paths accordingly - adapt Antigravity workflow template content from Codex skills: - `.agents/skills/.../SKILL.md` -> `.agent/workflows/... .md` - `$workflow` style triggers -> `/workflow` style triggers - remove `/skills` UX wording for Antigravity - add/refresh tests for init, configurator detection, managed path checks, regression coverage, and Antigravity template adaptation ## Verification - `pnpm -s typecheck` - `pnpm -s test` (23 files, 348 tests) - `pnpm -s lint` - `pnpm -s lint:py` (warnings only, no errors) ## Notes - aligned with official Antigravity guidance: workflows live in `.agent/workflows` and are invoked via `/workflow-name` in chat. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:47:31 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Trellis#56
No description provided.