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 .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
blank_issues_enabled: true
contact_links:
- name: Using the CLI, or the Wego API
url: https://docs.wego.com/cli
url: https://agents.wego.com/cli
about: Command reference, quickstart and the HTTP contract. Start here for how-to questions.
- name: Proposing a change
url: https://github.com/wego/cli/blob/main/CONTRIBUTING.md
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ are both open source.

Made by [Wego](https://www.wego.com), the travel search engine and online travel
agency for the Middle East, North Africa and beyond. Docs, quickstart and use cases
live at [docs.wego.com](https://docs.wego.com); the CLI reference is at
[docs.wego.com/cli](https://docs.wego.com/cli) and the HTTP contract at
[docs.wego.com/api](https://docs.wego.com/api).
live at [agents.wego.com](https://agents.wego.com); the CLI reference is at
[agents.wego.com/cli](https://agents.wego.com/cli) and the HTTP contract at
[agents.wego.com/api](https://agents.wego.com/api).

The `wego` command is a public OAuth + PKCE client. It logs you in against
`auth.wego.com` in your own browser, stores the token on your machine, and drives
Expand Down Expand Up @@ -44,7 +44,7 @@ download.
## Install

```bash
curl -fsSL https://docs.wego.com/cli/install | bash
curl -fsSL https://agents.wego.com/cli/install | bash
```

To read the install script before you run it, leave off `| bash`.
Expand Down Expand Up @@ -87,7 +87,7 @@ Install one by naming it, and you are done — the installer records the ring an
`wego update` follows it from then on:

```bash
curl -fsSL 'https://docs.wego.com/cli/install?ring=next' | bash
curl -fsSL 'https://agents.wego.com/cli/install?ring=next' | bash
```

That is all most people ever need.
Expand Down
14 changes: 7 additions & 7 deletions docs/install-and-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The command's name on disk has nothing to do with it.
## 0 · Stable, the normal install

```bash
curl -fsSL https://docs.wego.com/cli/install | bash
curl -fsSL https://agents.wego.com/cli/install | bash
wego login
```

Expand Down Expand Up @@ -75,7 +75,7 @@ For someone who wants the release candidate as their everyday CLI. Same command
name, same directory, same login — only the ring differs:

```bash
curl -fsSL 'https://docs.wego.com/cli/install?ring=next' | bash
curl -fsSL 'https://agents.wego.com/cli/install?ring=next' | bash
```

Because the config directory does not depend on the ring, **you stay logged in and
Expand All @@ -100,9 +100,9 @@ Reinstalling **is** the switch. It rewrites the binary and the ring record
together, so they can never disagree:

```bash
curl -fsSL 'https://docs.wego.com/cli/install?ring=edge' | bash # onto edge
curl -fsSL 'https://docs.wego.com/cli/install?ring=next' | bash # onto next
curl -fsSL https://docs.wego.com/cli/install | bash # back to stable
curl -fsSL 'https://agents.wego.com/cli/install?ring=edge' | bash # onto edge
curl -fsSL 'https://agents.wego.com/cli/install?ring=next' | bash # onto next
curl -fsSL https://agents.wego.com/cli/install | bash # back to stable
```

There is deliberately no `wego ring` command: the record is written by the one
Expand All @@ -127,7 +127,7 @@ for ring in next edge; do
XDG_CONFIG_HOME="$root/config" \
WEGO_CLI_INSTALL_DIR="$root/bin" \
WEGO_CLI_INSTALL_SKILL=0 \
sh -c "curl -fsSL 'https://docs.wego.com/cli/install?ring=$ring' | sh"
sh -c "curl -fsSL 'https://agents.wego.com/cli/install?ring=$ring' | sh"

# A launcher on your PATH, so you never have to remember the variables.
mkdir -p "$HOME/.local/bin"
Expand Down Expand Up @@ -330,7 +330,7 @@ rules.

```bash
WEGO_CLI_INSTALL_SKILL=0 \
sh -c "curl -fsSL https://docs.wego.com/cli/install | sh"
sh -c "curl -fsSL https://agents.wego.com/cli/install | sh"
```

- `WEGO_CLI_INSTALL_SKILL=0` skips the agent-skill step, which has nothing to offer
Expand Down
27 changes: 17 additions & 10 deletions plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ source.

Made by [Wego](https://www.wego.com), the travel search engine and online travel
agency for the Middle East, North Africa and beyond. Docs, quickstart and use cases
live at [docs.wego.com](https://docs.wego.com); the CLI reference is at
[docs.wego.com/cli](https://docs.wego.com/cli) and the HTTP contract at
[docs.wego.com/api](https://docs.wego.com/api).
live at [agents.wego.com](https://agents.wego.com); the CLI reference is at
[agents.wego.com/cli](https://agents.wego.com/cli) and the HTTP contract at
[agents.wego.com/api](https://agents.wego.com/api).

The skill takes a travel request in plain language and works it against live
inventory. It resolves places, searches and compares flights and hotels, reads
Expand All @@ -22,23 +22,30 @@ authorization, credential storage, API access, one JSON envelope, and metering.

## Works with

Any agent that supports [skills](https://agentskills.io/) and a machine or
sandbox to run [our CLI](https://docs.wego.com/cli). Claude Code, Codex, Cursor,
OpenClaw, Hermes and Pi, to name a few.
Any agent that supports [skills](https://agentskills.io/). On a machine or sandbox
that can run commands, the skill uses [our CLI](https://agents.wego.com/cli):
Claude Code, Codex, Cursor, OpenClaw, Hermes and Pi, to name a few. Where the
agent cannot run the CLI, it uses the Wego MCP server that comes with the plugin, at
`https://mcp.wego.com/public-app/v1/mcp`, which needs no sign-in.

## Install

The skill drives the `wego` CLI, so both need to be present. Either order works.
On an agent that can run commands, the skill uses the `wego` CLI, so both need
to be present, in either order. On an agent that cannot run commands, or that
cannot install the CLI or reach the network with it, the skill uses the Wego
MCP server instead: connect `https://mcp.wego.com/public-app/v1/mcp` in the
agent's connector or MCP settings.

Add the skill to your agent from this repository:
The following command adds the skill only; it does not connect an MCP server:

```bash
npx --yes skills add https://github.com/wego/skills --skill wego
```

Install the CLI by following
[docs.wego.com/cli](https://docs.wego.com/cli#install). The skill never installs
it for you: when the command is missing, it links those instructions and waits.
[agents.wego.com/cli](https://agents.wego.com/cli#install). The skill never installs
it for you. When the command is missing it links those instructions and waits,
and uses the Wego MCP tools only if you say you cannot install the CLI there.

The CLI's source is at [github.com/wego/cli](https://github.com/wego/cli).

Expand Down
4 changes: 2 additions & 2 deletions plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "wego",
"description": "Search and compare flights and hotels, resolve places, and generate checkout links through the wego CLI.",
"homepage": "https://docs.wego.com",
"description": "Search and compare flights and hotels, find airports and cities, and generate checkout links, through the wego CLI where the agent can run it, or the Wego MCP server where it cannot.",
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Resolved
"homepage": "https://agents.wego.com",
"repository": "https://github.com/wego/skills",
"license": "Apache-2.0"
}
7 changes: 6 additions & 1 deletion scripts/plugin-conformance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe("plugin.json conformance (Agent Plugins §5.2)", () => {
});

it("points at the docs site and the published repo", () => {
expect(manifest.homepage).toBe("https://docs.wego.com");
expect(manifest.homepage).toBe("https://agents.wego.com");
expect(manifest.repository).toBe("https://github.com/wego/skills");
});

Expand All @@ -82,6 +82,11 @@ describe("plugin.json conformance (Agent Plugins §5.2)", () => {
);
});

it("names both paths, the CLI and MCP, in the description", () => {
expect(manifest.description as string).toContain("CLI");
expect(manifest.description as string).toContain("MCP");
});

it("declares Apache-2.0 as an SPDX identifier", () => {
// §5.2 types `license` as a string and does not constrain it, so the
// constraint is ours: an SPDX id is the only spelling a consumer can match
Expand Down
Loading
Loading