@zibby/skills 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/github.js +4 -3
- package/dist/gitlab.js +19 -0
- package/dist/index.js +141 -122
- package/dist/package.json +3 -1
- package/dist/trackers/github-adapter.js +4 -3
- package/dist/trackers/index.js +16 -15
- package/docs/apps/agent-ops.md +6 -6
- package/docs/apps/deploy.md +1 -1
- package/docs/apps/index.md +1 -1
- package/docs/apps/managing.md +1 -1
- package/docs/cli-reference.md +65 -65
- package/docs/cloning-repositories.md +9 -9
- package/docs/cloud/bundles.md +8 -8
- package/docs/cloud/dedicated-egress.md +6 -6
- package/docs/cloud/env-vars.md +29 -29
- package/docs/cloud/limits.md +11 -11
- package/docs/cloud/triggering.md +16 -16
- package/docs/concepts/agents.md +4 -4
- package/docs/concepts/sessions.md +7 -7
- package/docs/concepts/state.md +1 -1
- package/docs/concepts/sub-graphs.md +9 -9
- package/docs/get-started/deploy.md +14 -14
- package/docs/get-started/install.md +4 -4
- package/docs/get-started/run-locally.md +12 -12
- package/docs/get-started/trigger-and-logs.md +14 -14
- package/docs/get-started/use-from-agents.md +17 -17
- package/docs/get-started/your-first-workflow.md +8 -8
- package/docs/integrations/gitlab.md +1 -1
- package/docs/integrations/lark.md +2 -2
- package/docs/integrations/linear.md +1 -1
- package/docs/integrations/notion.md +2 -2
- package/docs/integrations/plane.md +1 -1
- package/docs/integrations/slack.md +1 -1
- package/docs/intro.md +4 -4
- package/docs/legacy/test-automation.md +2 -2
- package/docs/packages/cli.md +11 -11
- package/docs/packages/core.md +2 -2
- package/docs/packages/mcp-cli.md +18 -18
- package/docs/packages/skills.md +2 -2
- package/docs/packages/ui-memory.md +1 -1
- package/docs/recipes/bug-autofix.md +1 -1
- package/docs/recipes/index.md +3 -3
- package/docs/recipes/pipeline-supervisor.md +4 -4
- package/docs/recipes/sentry-triage.md +7 -7
- package/docs/recipes/test.md +6 -6
- package/docs/skills/browser.md +2 -2
- package/docs/skills/chat-memory.md +1 -1
- package/docs/skills/core-tools.md +1 -1
- package/docs/skills/function-skill.md +1 -1
- package/docs/skills/github.md +2 -2
- package/docs/skills/index.md +1 -1
- package/docs/skills/jira.md +1 -1
- package/docs/skills/lark.md +1 -1
- package/docs/skills/memory.md +2 -2
- package/docs/skills/sentry.md +1 -1
- package/docs/skills/slack.md +2 -2
- package/package.json +3 -1
|
@@ -9,7 +9,7 @@ Connect a Lark (Feishu) self-built app so your agents can send messages, reply,
|
|
|
9
9
|
|
|
10
10
|
## How It Works
|
|
11
11
|
|
|
12
|
-
You create a self-built app in the Lark Developer Console and paste its App ID and App Secret into Zibby. Optionally add a Verification Token and Encrypt Key if you want inbound Lark events to trigger Zibby
|
|
12
|
+
You create a self-built app in the Lark Developer Console and paste its App ID and App Secret into Zibby. Optionally add a Verification Token and Encrypt Key if you want inbound Lark events to trigger Zibby agents. The `lark` skill then exposes Lark's API to any node that declares it.
|
|
13
13
|
|
|
14
14
|
## Connect Lark
|
|
15
15
|
|
|
@@ -32,7 +32,7 @@ Nodes that attach the [`lark` skill](../skills/lark.md) get `lark_send_message`,
|
|
|
32
32
|
|
|
33
33
|
## Inbound events
|
|
34
34
|
|
|
35
|
-
Adding the Verification Token (and Encrypt Key, if enabled) lets Lark events fire your Zibby
|
|
35
|
+
Adding the Verification Token (and Encrypt Key, if enabled) lets Lark events fire your Zibby agents. Leave them blank for outbound-only (notifications).
|
|
36
36
|
|
|
37
37
|
## Troubleshooting
|
|
38
38
|
|
|
@@ -34,7 +34,7 @@ Once connected, nodes that attach the [`linear` skill](../skills/index.md) get t
|
|
|
34
34
|
|
|
35
35
|
## Reference key (SDK / CLI)
|
|
36
36
|
|
|
37
|
-
When running
|
|
37
|
+
When running agents directly (local or CI), the same connector reads from the `LINEAR_API_KEY` environment variable instead of the dashboard-stored credential.
|
|
38
38
|
|
|
39
39
|
## Troubleshooting
|
|
40
40
|
|
|
@@ -20,11 +20,11 @@ You authorize Zibby against a Notion workspace via OAuth. Notion returns a long-
|
|
|
20
20
|
|
|
21
21
|
## What Agents Can Do
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Agents can render a `report` object straight to Notion blocks (`reportToNotionBlocks`) and publish it to a connected page or database — the same digest you can route to Slack or Lark. The `notify-notion` template is the shipped example.
|
|
24
24
|
|
|
25
25
|
## Reference key (SDK / CLI)
|
|
26
26
|
|
|
27
|
-
When running
|
|
27
|
+
When running agents directly, the connector reads `NOTION_API_KEY` from the environment (a Notion internal-integration token works for the SDK path).
|
|
28
28
|
|
|
29
29
|
## Troubleshooting
|
|
30
30
|
|
|
@@ -33,7 +33,7 @@ Nodes that attach the [`plane` skill](../skills/index.md) get tools for projects
|
|
|
33
33
|
|
|
34
34
|
## Reference keys (SDK / CLI)
|
|
35
35
|
|
|
36
|
-
When running
|
|
36
|
+
When running agents directly, the connector reads `PLANE_API_KEY`, `PLANE_WORKSPACE_SLUG`, and `PLANE_BASE_URL` from the environment.
|
|
37
37
|
|
|
38
38
|
## Pairs well with hosted Plane
|
|
39
39
|
|
|
@@ -24,7 +24,7 @@ Nodes that attach the [`slack` skill](../skills/slack.md) get tools to list chan
|
|
|
24
24
|
|
|
25
25
|
## Reference (SDK / CLI)
|
|
26
26
|
|
|
27
|
-
When running
|
|
27
|
+
When running agents directly, the connector reads the bot token and team ID from the environment.
|
|
28
28
|
|
|
29
29
|
## Troubleshooting
|
|
30
30
|
|
package/docs/intro.md
CHANGED
|
@@ -9,7 +9,7 @@ pagination_next: get-started/install
|
|
|
9
9
|
|
|
10
10
|
**The cloud platform for AI agents — built on Claude Code, Cursor, Codex, and Gemini.** Compose real coding-agent CLIs into structured agents with Zod-validated handoff between nodes, then deploy them to the cloud. Vendor-neutral. JavaScript-first.
|
|
11
11
|
|
|
12
|
-
> **
|
|
12
|
+
> An **Agent** is a deployed automation — a graph of coding-agent CLI calls with Zod-typed handoff between nodes. Build and ship one with the `zibby agent` CLI.
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
@@ -29,7 +29,7 @@ graph
|
|
|
29
29
|
|
|
30
30
|
## Try it now
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Get started in seconds:
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
npm install -g @zibby/cli
|
|
@@ -55,7 +55,7 @@ zibby template add <name> # add a template later (overwrites =
|
|
|
55
55
|
|
|
56
56
|
## What you get
|
|
57
57
|
|
|
58
|
-
- **Multi-vendor** — mix Claude Code + Codex + Cursor + Gemini in one
|
|
58
|
+
- **Multi-vendor** — mix Claude Code + Codex + Cursor + Gemini in one agent. Anthropic will never help you orchestrate Codex; multi-vendor neutrality is structural.
|
|
59
59
|
- **Schema-enforced handoff** — Zod validates every node's output before the next runs. No prompt-stuffing.
|
|
60
60
|
- **Run anywhere** — local with hot reload, or cloud with Heroku-style bundles (~3s cold start).
|
|
61
61
|
- **Session replay** — every run lands as on-disk JSONL + artifacts. Re-run any node via `--session <id> --node <name>`.
|
|
@@ -72,7 +72,7 @@ zibby template add <name> # add a template later (overwrites =
|
|
|
72
72
|
| Billing | Per execution | Per minute, while running |
|
|
73
73
|
| Best for | "When ticket lands, classify it" | "Host Grafana for the team" |
|
|
74
74
|
|
|
75
|
-
An **Agent** is a deployed automation
|
|
75
|
+
An **Agent** is a deployed automation. An **App** is a hosted open-source application. Pick by how long the thing needs to run — see [Apps overview](./apps/) for the decision tree.
|
|
76
76
|
|
|
77
77
|
## How it compares
|
|
78
78
|
|
|
@@ -63,7 +63,7 @@ npx playwright test tests/login.spec.js
|
|
|
63
63
|
|
|
64
64
|
## Customizing Your Setup (Optional)
|
|
65
65
|
|
|
66
|
-
If you want to customize the
|
|
66
|
+
If you want to customize the agent, config, or nodes:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
69
|
zibby init --agent cursor
|
|
@@ -82,7 +82,7 @@ This scaffolds:
|
|
|
82
82
|
└── result-handler.js # Post-execution hooks
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
Without `zibby init`, the CLI uses the built-in default
|
|
85
|
+
Without `zibby init`, the CLI uses the built-in default agent automatically.
|
|
86
86
|
|
|
87
87
|
## Environment Variables
|
|
88
88
|
|
package/docs/packages/cli.md
CHANGED
|
@@ -16,18 +16,18 @@ zibby --version
|
|
|
16
16
|
|
|
17
17
|
## What it does
|
|
18
18
|
|
|
19
|
-
- **Scaffolds**
|
|
20
|
-
- **Runs**
|
|
21
|
-
- **Deploys** to Zibby Cloud (Heroku-style bundles): `zibby
|
|
22
|
-
- **Triggers** deployed
|
|
23
|
-
- **Tails** logs: `zibby
|
|
19
|
+
- **Scaffolds** agents: `zibby agent new <name>`
|
|
20
|
+
- **Runs** agents locally (one-shot): `zibby agent run <name>`
|
|
21
|
+
- **Deploys** to Zibby Cloud (Heroku-style bundles): `zibby agent deploy <name>`
|
|
22
|
+
- **Triggers** deployed agents: `zibby agent trigger <uuid>`
|
|
23
|
+
- **Tails** logs: `zibby agent logs <uuid> -t`
|
|
24
24
|
- **Manages** auth: `zibby login`, `zibby logout`, `zibby status`
|
|
25
25
|
|
|
26
26
|
The full command catalog lives at [CLI Reference](../cli-reference).
|
|
27
27
|
|
|
28
|
-
## Self-contained
|
|
28
|
+
## Self-contained agent projects
|
|
29
29
|
|
|
30
|
-
`zibby
|
|
30
|
+
`zibby agent new` creates an agent as a **self-contained npm project** — its own `package.json`, its own `node_modules`. So an agent can pull in arbitrary deps (PDF libraries, custom MCP servers, your own SDK) without polluting the parent project.
|
|
31
31
|
|
|
32
32
|
```
|
|
33
33
|
my-app/
|
|
@@ -35,14 +35,14 @@ my-app/
|
|
|
35
35
|
├── src/
|
|
36
36
|
└── .zibby/
|
|
37
37
|
└── workflows/
|
|
38
|
-
└── my-
|
|
39
|
-
├── package.json #
|
|
38
|
+
└── my-agent/
|
|
39
|
+
├── package.json # agent's own deps
|
|
40
40
|
├── node_modules/
|
|
41
41
|
├── graph.mjs
|
|
42
42
|
└── nodes/
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
The cloud bundle build does the same — `npm install` runs *inside* the
|
|
45
|
+
The cloud bundle build does the same — `npm install` runs *inside* the agent folder, scoped to its own package.json.
|
|
46
46
|
|
|
47
47
|
## Configuration
|
|
48
48
|
|
|
@@ -65,7 +65,7 @@ export default {
|
|
|
65
65
|
};
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
`zibby
|
|
68
|
+
`zibby agent deploy` resolves this file locally and ships the result as `zibby.config.json` inside the deploy bundle, so the cloud runtime sees the same `agent` block, per-node `models`, and other declarative knobs as your local runs. Function values are dropped at deploy time (config is data, not code) — if you need runtime variation in cloud, use [per-agent env vars](../cloud/env-vars).
|
|
69
69
|
|
|
70
70
|
## Source
|
|
71
71
|
|
package/docs/packages/core.md
CHANGED
|
@@ -7,7 +7,7 @@ title: '@zibby/core'
|
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/@zibby/core)
|
|
9
9
|
|
|
10
|
-
The batteries — five built-in agent strategies, the runtime, and a re-export of the `@zibby/agent-workflow` engine. This is what `zibby
|
|
10
|
+
The batteries — five built-in agent strategies, the runtime, and a re-export of the `@zibby/agent-workflow` engine. This is what `zibby agent new` scaffolds agents against.
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
npm install @zibby/core
|
|
@@ -63,7 +63,7 @@ Functions used by the cloud executor and Studio integration — `ZibbyRuntime`,
|
|
|
63
63
|
|
|
64
64
|
| Goal | Pick |
|
|
65
65
|
|---|---|
|
|
66
|
-
| Build
|
|
66
|
+
| Build an agent with built-in strategies (cursor/claude/codex/gemini/assistant) | `@zibby/core` |
|
|
67
67
|
| Embed the engine in your own app with custom agents only | `@zibby/agent-workflow` |
|
|
68
68
|
| Use the CLI | `@zibby/cli` (transitively pulls both) |
|
|
69
69
|
|
package/docs/packages/mcp-cli.md
CHANGED
|
@@ -22,17 +22,17 @@ A Model Context Protocol (MCP) server that exposes the Zibby CLI surface — dep
|
|
|
22
22
|
| `zibby_logout` | Clears the saved session. |
|
|
23
23
|
| `zibby_status` | Who is logged in, how many projects are cached, whether the session is still valid. |
|
|
24
24
|
| `zibby_list_projects` | List the Zibby projects the user has access to. |
|
|
25
|
-
| `zibby_list_templates` | List official
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
|
|
35
|
-
**Destructive operations are intentionally not exposed.**
|
|
25
|
+
| `zibby_list_templates` | List official agent templates (browser-test-automation, code-analysis, generate-test-cases, …). |
|
|
26
|
+
| `zibby_scaffold_agent` | Scaffold `.zibby/workflows/<name>/` from an official template. |
|
|
27
|
+
| `zibby_validate_agent` | Static-check a local agent (~30 ms, no API call). |
|
|
28
|
+
| `zibby_list_agents` | List agents: local, remote, or both. |
|
|
29
|
+
| `zibby_deploy_agent` | Deploy a local agent to a project. |
|
|
30
|
+
| `zibby_trigger_agent` | Trigger a deployed agent by UUID. Returns `jobId`. |
|
|
31
|
+
| `zibby_agent_logs` | Fetch the latest N log lines from a run (one-shot — call again for newer lines). |
|
|
32
|
+
| `zibby_run_agent_local` | Run an agent on the user's machine one-shot, for debugging. No cloud. |
|
|
33
|
+
| `zibby_download_agent` | Pull a deployed agent back to local. Requires explicit `confirm: true` from the agent. |
|
|
34
|
+
|
|
35
|
+
**Destructive operations are intentionally not exposed.** Agent deletion, env-var mutation, schedule changes, and credential management stay in the `zibby` CLI directly. The agent has to involve the user out-of-band for those.
|
|
36
36
|
|
|
37
37
|
## Install
|
|
38
38
|
|
|
@@ -128,14 +128,14 @@ If your agent on Windows can't find `npx`, wrap with `cmd /c`:
|
|
|
128
128
|
```
|
|
129
129
|
User: Deploy the browser-test template to my "playhouse" project.
|
|
130
130
|
Agent: → zibby_list_projects
|
|
131
|
-
→
|
|
132
|
-
→
|
|
133
|
-
→
|
|
131
|
+
→ zibby_scaffold_agent (browser-test-automation → .zibby/workflows/playhouse-tests/)
|
|
132
|
+
→ zibby_validate_agent
|
|
133
|
+
→ zibby_deploy_agent
|
|
134
134
|
→ "Deployed v1 of playhouse-tests. UUID 988…"
|
|
135
135
|
|
|
136
136
|
User: Run it against staging.zibby.dev.
|
|
137
|
-
Agent: →
|
|
138
|
-
→
|
|
137
|
+
Agent: → zibby_trigger_agent (input: { url: "https://staging.zibby.dev" })
|
|
138
|
+
→ zibby_agent_logs (lines: 200, jobId: "abc-123")
|
|
139
139
|
→ "Run completed. Found 0 errors."
|
|
140
140
|
```
|
|
141
141
|
|
|
@@ -144,7 +144,7 @@ Agent: → zibby_trigger_workflow (input: { url: "https://staging.zibby.dev" })
|
|
|
144
144
|
Two-stage by design (mirrors how the `zibby` CLI works):
|
|
145
145
|
|
|
146
146
|
1. **Session token** (`zibby_login`) — device-code OAuth via browser. Identifies the user.
|
|
147
|
-
2. **Per-project API tokens** — fetched at login time and cached locally. The MCP server picks the right token automatically when you call a project-scoped tool like `
|
|
147
|
+
2. **Per-project API tokens** — fetched at login time and cached locally. The MCP server picks the right token automatically when you call a project-scoped tool like `zibby_deploy_agent`.
|
|
148
148
|
|
|
149
149
|
All credentials live in `~/.zibby/config.json` (mode `0600`). The same file `zibby login` writes — so if you've already done `zibby login` from a terminal, the MCP server picks up that session.
|
|
150
150
|
|
|
@@ -156,7 +156,7 @@ The user's password never touches the MCP server: login is OAuth in the browser,
|
|
|
156
156
|
- **Minimum env passthrough** — only `HOME`, `USER`, `PATH`, and the project-scoped `ZIBBY_API_KEY` reach the child CLI process.
|
|
157
157
|
- **API tokens never returned to the agent** — they live in `~/.zibby/config.json` only, read server-side per call.
|
|
158
158
|
- **Destructive ops excluded** — see the table above.
|
|
159
|
-
- **`
|
|
159
|
+
- **`zibby_download_agent` requires `confirm: true`** — the schema rejects calls without it. Agents must explicitly opt in after confirming the destination path with the user.
|
|
160
160
|
|
|
161
161
|
## Troubleshooting
|
|
162
162
|
|
package/docs/packages/skills.md
CHANGED
|
@@ -17,7 +17,7 @@ npm install @zibby/skills
|
|
|
17
17
|
|
|
18
18
|
## What Are Skills?
|
|
19
19
|
|
|
20
|
-
A **skill** is a declarative description of an MCP (Model Context Protocol) server and the tools it exposes. Skills are the bridge between your
|
|
20
|
+
A **skill** is a declarative description of an MCP (Model Context Protocol) server and the tools it exposes. Skills are the bridge between your agent nodes and external capabilities like browser automation, Jira, GitHub, Slack, and test memory.
|
|
21
21
|
|
|
22
22
|
Skills are **agent-agnostic** — the same skill definition works across Cursor, Claude, and Codex. The framework resolves the skill into the right MCP configuration for whichever agent is active.
|
|
23
23
|
|
|
@@ -46,7 +46,7 @@ export const executeLiveNode = {
|
|
|
46
46
|
};
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
When the
|
|
49
|
+
When the agent runs:
|
|
50
50
|
1. The framework reads the node's `skills` array
|
|
51
51
|
2. For each skill, calls `skill.resolve()` to get the MCP server config
|
|
52
52
|
3. Injects the resolved MCP server into the agent's environment
|
|
@@ -51,7 +51,7 @@ zibby memory init
|
|
|
51
51
|
|
|
52
52
|
Creates `.zibby/memory/.dolt/` with the schema for runs, selectors, page model, navigation, and insights.
|
|
53
53
|
|
|
54
|
-
### 3. Enable memory in your
|
|
54
|
+
### 3. Enable memory in your agent
|
|
55
55
|
|
|
56
56
|
Add `SKILLS.MEMORY` to any node that should have memory access:
|
|
57
57
|
|
|
@@ -78,7 +78,7 @@ Plus the children's own config: Jira connected (triage/poll/writeback), GitHub c
|
|
|
78
78
|
## Deploy
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
zibby agent templates # browse the marketplace
|
|
81
|
+
zibby agent templates # browse the marketplace
|
|
82
82
|
zibby agent new bug-autofix -t bug-autofix # scaffold the orchestrator
|
|
83
83
|
# ...also scaffold + deploy ticket-triage, code-fix, tracker-writeback in the same project
|
|
84
84
|
zibby agent deploy bug-autofix
|
package/docs/recipes/index.md
CHANGED
|
@@ -5,9 +5,9 @@ title: Agent Marketplace
|
|
|
5
5
|
|
|
6
6
|
# Agent Marketplace
|
|
7
7
|
|
|
8
|
-
Zibby ships a set of **ready-made agents** — production-ready automations you can deploy today. Each one is a real Zibby agent
|
|
8
|
+
Zibby ships a set of **ready-made agents** — production-ready automations you can deploy today. Each one is a real Zibby agent, eating its own dog food. Browse them, deploy with one command, and tune them to your project.
|
|
9
9
|
|
|
10
|
-
> **
|
|
10
|
+
> An **Agent** is a deployed automation built on coding-agent CLIs. Build and ship one with the `zibby agent` CLI.
|
|
11
11
|
|
|
12
12
|
```
|
|
13
13
|
┌──────────────────┐
|
|
@@ -53,7 +53,7 @@ Three reasons we ship ready-made agents alongside the platform:
|
|
|
53
53
|
If you have an agent you'd want shipped as a built-in:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
zibby agent new my-agent # scaffold
|
|
56
|
+
zibby agent new my-agent # scaffold
|
|
57
57
|
# ... build it out ...
|
|
58
58
|
zibby agent run my-agent # test locally
|
|
59
59
|
zibby agent deploy my-agent # ship to your cloud account
|
|
@@ -11,7 +11,7 @@ v1 is strictly **READ → PROPOSE → NOTIFY**. It never edits another agent's g
|
|
|
11
11
|
|
|
12
12
|
```
|
|
13
13
|
scan_pipelines (deterministic + Zibby REST API, PAT-authed)
|
|
14
|
-
→ propose_improvements (LLM — one proposal per flagged
|
|
14
|
+
→ propose_improvements (LLM — one proposal per flagged agent)
|
|
15
15
|
→ notify (LLM + SKILLS.CHAT_NOTIFY — one review card)
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ If `scan_pipelines` flags nothing, the graph short-circuits straight to `notify`
|
|
|
21
21
|
|
|
22
22
|
A direct authed `GET /executions?projectId=<id>&limit=200` against the Zibby REST API (the same route the dashboard and remote MCP server use), carrying a **user personal access token** in `Authorization: Bearer`.
|
|
23
23
|
|
|
24
|
-
It must be a USER PAT (`zby_pat_…`), **not** the Fargate-injected `PROJECT_API_TOKEN`: every cross-
|
|
24
|
+
It must be a USER PAT (`zby_pat_…`), **not** the Fargate-injected `PROJECT_API_TOKEN`: every cross-agent read route requires a `userId` from the authorizer, and a project token carries none — so it 401s.
|
|
25
25
|
|
|
26
26
|
## Config (ENV tab)
|
|
27
27
|
|
|
@@ -40,9 +40,9 @@ Optional:
|
|
|
40
40
|
| Field | Default | Meaning |
|
|
41
41
|
|---|---|---|
|
|
42
42
|
| `lookbackHours` | 24 | Hours of execution history to scan |
|
|
43
|
-
| `minFailRate` | 0.4 | Flag
|
|
43
|
+
| `minFailRate` | 0.4 | Flag an agent failing ≥ this fraction of recent runs |
|
|
44
44
|
| `targetWorkflowTypes` | — | Optional name filter (case-insensitive substring) |
|
|
45
|
-
| `maxPipelines` | 25 | Cap on distinct
|
|
45
|
+
| `maxPipelines` | 25 | Cap on distinct agents analyzed per run |
|
|
46
46
|
|
|
47
47
|
## Trigger
|
|
48
48
|
|
|
@@ -5,7 +5,7 @@ title: Sentry triage recipe
|
|
|
5
5
|
|
|
6
6
|
# `sentry-triage` — agent-driven Sentry triage
|
|
7
7
|
|
|
8
|
-
An hourly Sentry triage
|
|
8
|
+
An hourly Sentry triage agent that fetches unresolved issues, classifies them by severity, and **routes them to the right human**. Three nodes, end-to-end agent-driven, deployed from the marketplace in one click.
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
fetch_issues → classify → dispatch_alerts
|
|
@@ -27,12 +27,12 @@ The agent uses [`slack_lookup_user_by_email`](../skills/slack), [`slack_list_use
|
|
|
27
27
|
## Deploy from the marketplace
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
zibby
|
|
30
|
+
zibby agent templates deploy sentry-triage --project <project-id>
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Or via the dashboard: `/marketplace/workflows` → Sentry Triage → Deploy.
|
|
34
34
|
|
|
35
|
-
After deploy, configure ENV (Apps →
|
|
35
|
+
After deploy, configure ENV (Apps → agent → ENV tab):
|
|
36
36
|
|
|
37
37
|
| Env var | Required? | Default | What it does |
|
|
38
38
|
|---|---|---|---|
|
|
@@ -79,15 +79,15 @@ If you deployed your backend with `RELEASE_SHA` Sentry release-tracking on, susp
|
|
|
79
79
|
Each node's prompt lives in its own module — fork the template, edit, redeploy:
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
zibby
|
|
82
|
+
zibby agent download <uuid>
|
|
83
83
|
# edit nodes/dispatch-node.js
|
|
84
|
-
zibby
|
|
84
|
+
zibby agent deploy ./sentry-triage # same UUID, new version
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Or fork the whole template repo if you want long-term divergence — it's just a `@zibby/workflow-templates/sentry-triage/` directory in the published package.
|
|
88
88
|
|
|
89
89
|
## Cadence
|
|
90
90
|
|
|
91
|
-
Default: hourly cron, fires `sinceMinutes=60`. Change in the trigger config (Apps →
|
|
91
|
+
Default: hourly cron, fires `sinceMinutes=60`. Change in the trigger config (Apps → agent → Triggers) — keep the SQL safe `since` between 5 and 1440 minutes (`inputSchema` enforces this).
|
|
92
92
|
|
|
93
|
-
→ Next: [`zibby test`](./test) (the browser-testing recipe) or [Build your own
|
|
93
|
+
→ Next: [`zibby test`](./test) (the browser-testing recipe) or [Build your own agent](../get-started/your-first-workflow).
|
package/docs/recipes/test.md
CHANGED
|
@@ -7,7 +7,7 @@ title: Browser test recipe (zibby test)
|
|
|
7
7
|
|
|
8
8
|
The browser-test recipe takes a plain-English spec, drives a real browser via a coding agent (Cursor / Claude / Codex / Gemini), runs the assertions, and produces a Playwright script + verification video.
|
|
9
9
|
|
|
10
|
-
It's a worked example of what the Zibby platform does — every step is a regular
|
|
10
|
+
It's a worked example of what the Zibby platform does — every step is a regular agent node with Zod-validated handoff. You can read the source, fork it, or build your own variation.
|
|
11
11
|
|
|
12
12
|
## Quick start
|
|
13
13
|
|
|
@@ -38,7 +38,7 @@ zibby test test-specs/checkout.txt --agent claude
|
|
|
38
38
|
|
|
39
39
|
Open the session in [Zibby Studio](https://zibby.app/studio) to scrub through the run, swap the prompt, re-execute any node.
|
|
40
40
|
|
|
41
|
-
## The graph (this is just a Zibby
|
|
41
|
+
## The graph (this is just a Zibby agent)
|
|
42
42
|
|
|
43
43
|
Under the hood, `zibby test` is a 3-node graph:
|
|
44
44
|
|
|
@@ -115,10 +115,10 @@ Auto-pull on test start, auto-push on test pass. Failing runs don't pollute team
|
|
|
115
115
|
|
|
116
116
|
## Forking the recipe
|
|
117
117
|
|
|
118
|
-
If the built-in recipe doesn't fit your case, scaffold a custom
|
|
118
|
+
If the built-in recipe doesn't fit your case, scaffold a custom agent and copy the structure:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
zibby
|
|
121
|
+
zibby agent new my-test-agent
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
Then in `graph.mjs`, define your own nodes:
|
|
@@ -170,7 +170,7 @@ That's the platform. The recipe is just a starter.
|
|
|
170
170
|
npx @zibby/cli test test-specs/checkout.txt --headless
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
For
|
|
173
|
+
For agents triggered remotely (rather than per-CI-run), use [`agent trigger`](../cloud/triggering) on a deployed graph.
|
|
174
174
|
|
|
175
175
|
## Why this is different from Playwright codegen / a basic LLM script
|
|
176
176
|
|
|
@@ -187,4 +187,4 @@ For workflows triggered remotely (rather than per-CI-run), use [`workflow trigge
|
|
|
187
187
|
|
|
188
188
|
- [Recipes overview](./)
|
|
189
189
|
- [Concepts: graph](../concepts/graph) — the primitives this recipe uses
|
|
190
|
-
- [Cloud triggering](../cloud/triggering) — fire
|
|
190
|
+
- [Cloud triggering](../cloud/triggering) — fire agents from CI/CD
|
package/docs/skills/browser.md
CHANGED
|
@@ -5,7 +5,7 @@ title: Browser
|
|
|
5
5
|
|
|
6
6
|
# Browser skill
|
|
7
7
|
|
|
8
|
-
Playwright-driven browser automation. Click, type, navigate, snapshot, record video. Used by `zibby test` and by any
|
|
8
|
+
Playwright-driven browser automation. Click, type, navigate, snapshot, record video. Used by `zibby test` and by any agent node that needs to drive a web UI.
|
|
9
9
|
|
|
10
10
|
- **ID:** `browser`
|
|
11
11
|
- **MCP server:** `playwright` (tools exposed as `mcp__playwright__*`)
|
|
@@ -45,7 +45,7 @@ npm install @zibby/mcp-browser
|
|
|
45
45
|
|
|
46
46
|
Override the bin path with `MCP_BROWSER_PATH` if you need to point at a local checkout.
|
|
47
47
|
|
|
48
|
-
## Use in
|
|
48
|
+
## Use in an agent
|
|
49
49
|
|
|
50
50
|
```js
|
|
51
51
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
|
@@ -72,7 +72,7 @@ Turn `infer` on when you want mem0 to consolidate noisy inputs into clean facts;
|
|
|
72
72
|
|
|
73
73
|
On Zibby Cloud, mem0 state **persists across Fargate tasks**. mem0's SQLite vector + history stores are rooted under the workspace's tenant-scoped `.zibby/memory/` tree, which is tarball-synced between executions — so a memory written in one run is recallable in the next, even though each run is a fresh, ephemeral container. mem0 user IDs are workspace-scoped (`workspace:<name>`, overridable via `ZIBBY_MEMORY_USER_ID`), keeping each project's memory isolated.
|
|
74
74
|
|
|
75
|
-
## Use in
|
|
75
|
+
## Use in an agent
|
|
76
76
|
|
|
77
77
|
```js
|
|
78
78
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
|
@@ -27,7 +27,7 @@ Most Claude/Cursor/Codex nodes get these tools by default from their agent strat
|
|
|
27
27
|
|
|
28
28
|
None. The skill has no env keys, no auth, no external dependencies.
|
|
29
29
|
|
|
30
|
-
## Use in
|
|
30
|
+
## Use in an agent
|
|
31
31
|
|
|
32
32
|
```js
|
|
33
33
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
|
@@ -34,7 +34,7 @@ export const myTool = skill('my_tool', {
|
|
|
34
34
|
|
|
35
35
|
Calling `skill()` both creates and **registers** the skill in the global registry, so just importing the module is enough to make it available.
|
|
36
36
|
|
|
37
|
-
## Use in
|
|
37
|
+
## Use in an agent
|
|
38
38
|
|
|
39
39
|
Once registered, reference by id:
|
|
40
40
|
|
package/docs/skills/github.md
CHANGED
|
@@ -37,11 +37,11 @@ Two options:
|
|
|
37
37
|
|
|
38
38
|
**GitHub App (recommended).** In **Settings → Integrations**, click **Connect GitHub**, install the Zibby GitHub App on the orgs/repos you want, and authorize. Tokens auto-refresh; you don't manage them. See the [GitHub Integration page](../integrations/github.md) for the full app permissions list.
|
|
39
39
|
|
|
40
|
-
**Personal access token.** Set `GITHUB_TOKEN` in your
|
|
40
|
+
**Personal access token.** Set `GITHUB_TOKEN` in your agent's env (locally) or via **Cloud → Env vars** (cloud runs). Scope `repo` for private read+write, `public_repo` for public-only.
|
|
41
41
|
|
|
42
42
|
The skill reads `envKeys: ['GITHUB_TOKEN']` and the official `@modelcontextprotocol/server-github` consumes it directly.
|
|
43
43
|
|
|
44
|
-
## Use in
|
|
44
|
+
## Use in an agent
|
|
45
45
|
|
|
46
46
|
```js
|
|
47
47
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/docs/skills/index.md
CHANGED
|
@@ -20,7 +20,7 @@ Per-skill reference for everything shipped in `@zibby/skills`. For the mental mo
|
|
|
20
20
|
| [Jira](./jira.md) | `jira` | Issues, sprints, comments, transitions | Atlassian OAuth |
|
|
21
21
|
| Linear | `linear` | `linear_list_issues`, `linear_get_issue`, `linear_add_comment`, `linear_update_state`, `linear_list_teams/states/labels` | `LINEAR_API_KEY` |
|
|
22
22
|
| Plane | `plane` | Projects, work items, cycles, modules, epics, comments (official MCP) | `PLANE_API_KEY` (+ `PLANE_WORKSPACE_SLUG`, `PLANE_BASE_URL`) |
|
|
23
|
-
| Notion | n/a | Not an attachable MCP skill — a [connectable integration](../integrations/notion.md).
|
|
23
|
+
| Notion | n/a | Not an attachable MCP skill — a [connectable integration](../integrations/notion.md). Agents publish a `report` object to Notion blocks (`reportToNotionBlocks`), e.g. the `notify-notion` template | OAuth (dashboard) / `NOTION_API_KEY` (SDK) |
|
|
24
24
|
| [Memory](./memory.md) | `memory` | Test history, selectors, page model (Dolt) | `zibby init --mem` |
|
|
25
25
|
| [Chat memory](./chat-memory.md) | `chat-memory` | `memory_store`, `memory_recall`, `memory_brief`, `task_log`, `task_history` | None (Dolt or mem0) |
|
|
26
26
|
| [Core tools](./core-tools.md) | `core-tools` | `read_file`, `write_file`, `list_directory`, `run_command`, `open_url`, `wait` | None |
|
package/docs/skills/jira.md
CHANGED
|
@@ -40,7 +40,7 @@ See the [Jira Integration page](../integrations/jira.md) for the user-facing set
|
|
|
40
40
|
|
|
41
41
|
Under the hood the bin reads `ATLASSIAN_ACCESS_TOKEN` + `ATLASSIAN_CLOUD_ID` (and optional `ATLASSIAN_INSTANCE_URL`), which the backend supplies through `resolveIntegrationToken('jira')`.
|
|
42
42
|
|
|
43
|
-
## Use in
|
|
43
|
+
## Use in an agent
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
46
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/docs/skills/lark.md
CHANGED
|
@@ -30,7 +30,7 @@ Lark bots authenticate with App ID + App Secret. The bot needs `im:message` and
|
|
|
30
30
|
|
|
31
31
|
For self-hosted Lark deployments, set `host` on the integration config; the default is the standard Feishu host.
|
|
32
32
|
|
|
33
|
-
## Use in
|
|
33
|
+
## Use in an agent
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/docs/skills/memory.md
CHANGED
|
@@ -30,7 +30,7 @@ Requires [Dolt](https://docs.dolthub.com/introduction/installation) and an initi
|
|
|
30
30
|
```bash
|
|
31
31
|
# macOS
|
|
32
32
|
brew install dolt
|
|
33
|
-
# then, in your
|
|
33
|
+
# then, in your agent workspace:
|
|
34
34
|
zibby init --mem
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -40,7 +40,7 @@ Override the bin location for development with `MCP_MEMORY_PATH`.
|
|
|
40
40
|
|
|
41
41
|
See [Tests → Memory](../tests/memory.md) for the full memory lifecycle.
|
|
42
42
|
|
|
43
|
-
## Use in
|
|
43
|
+
## Use in an agent
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
46
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/docs/skills/sentry.md
CHANGED
|
@@ -29,7 +29,7 @@ Sentry uses OAuth 2.0 with PKCE (public client — no client secret).
|
|
|
29
29
|
|
|
30
30
|
The backend (`/integrations/sentry/connect` and `/integrations/sentry/callback`) handles the PKCE exchange. Tokens auto-refresh on use; if refresh fails, click **Reconnect** in the same settings panel.
|
|
31
31
|
|
|
32
|
-
## Use in
|
|
32
|
+
## Use in an agent
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
35
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/docs/skills/slack.md
CHANGED
|
@@ -31,7 +31,7 @@ Slack uses a bot token + workspace team id.
|
|
|
31
31
|
1. Create (or reuse) a Slack app at [api.slack.com/apps](https://api.slack.com/apps).
|
|
32
32
|
2. Add Bot Token Scopes: `chat:write`, `channels:read`, `channels:history`, `groups:read`, `users:read`, `reactions:write` (minimum).
|
|
33
33
|
3. Install the app to your workspace; copy the **Bot User OAuth Token** (`xoxb-…`) and **Team ID**.
|
|
34
|
-
4. Set them on the
|
|
34
|
+
4. Set them on the agent's env (locally) or via **Cloud → Env vars**:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
SLACK_BOT_TOKEN=xoxb-...
|
|
@@ -40,7 +40,7 @@ SLACK_TEAM_ID=T01234567
|
|
|
40
40
|
|
|
41
41
|
The skill declares `envKeys: ['SLACK_BOT_TOKEN', 'SLACK_TEAM_ID']` and the official `@modelcontextprotocol/server-slack` consumes them.
|
|
42
42
|
|
|
43
|
-
## Use in
|
|
43
|
+
## Use in an agent
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
46
|
import { WorkflowAgent, WorkflowGraph } from '@zibby/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zibby/skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "Built-in skill definitions for Zibby test automation framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"./browser": "./dist/browser.js",
|
|
13
13
|
"./jira": "./dist/jira.js",
|
|
14
14
|
"./github": "./dist/github.js",
|
|
15
|
+
"./gitlab": "./dist/gitlab.js",
|
|
16
|
+
"./linear": "./dist/linear.js",
|
|
15
17
|
"./plane": "./dist/plane.js",
|
|
16
18
|
"./slack": "./dist/slack.js",
|
|
17
19
|
"./lark": "./dist/lark.js",
|