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 README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# polylane

<p><strong>Agent-focused CLI for the <a href="https://polylane.com">Polylane</a> platform.</strong><br>
Investigate production issues, explore cloud infrastructure, search code, and drive threads — from any agent or terminal.</p>
Investigate production issues, explore cloud infrastructure, find the repositories behind a service, and drive threads — from any agent or terminal.</p>

<p>Your coding agent writes the code. It can't see production. Polylane is the missing sense.</p>

Expand Down
7 changes: 3 additions & 4 deletions skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: polylane-cli
description: Use `polylane` to investigate production issues, explore cloud infrastructure (logs / metrics / dependency graphs), search code, save memories, connect observability tools and cloud accounts, and drive threads with the Polylane agent. Use when the user wants to debug a production issue, look up a service, search their codebase, manage integrations, connect a cloud provider, or talk to the Polylane agent from the terminal.
description: Use `polylane` to investigate production issues, explore cloud infrastructure (logs / metrics / dependency graphs), find the repositories that deploy a service, save memories, connect observability tools and cloud accounts, and drive threads with the Polylane agent. Use when the user wants to debug a production issue, look up a service, find a repository, manage integrations, connect a cloud provider, or talk to the Polylane agent from the terminal.
---

# Polylane CLI — Agent Skill Guide
Expand Down Expand Up @@ -184,17 +184,16 @@ polylane service logs <service-id> --since 1h --grep error
polylane service metrics <service-id> --metric <name> --since 1h
polylane service graph <service-id> --direction both --depth 1

# Search code
# Find the repository, then search it in a local clone
polylane repo find "<query>"
polylane repo grep <owner/repo> "<regex>"

# Save what you learned
polylane memory save "<finding>"
```

### Running agent tools directly

Polylane exposes the same tools its own agent uses — observability queries across every connected provider, infra-graph traversal, code and change-record search, deployments, audit logs. Discover them, then run them, without opening a thread.
Polylane exposes the same tools its own agent uses — observability queries across every connected provider, infra-graph traversal, GitHub file and code reads, change-record search, deployments, audit logs. Discover them, then run them, without opening a thread.

```bash
# Discover tools available to this workspace (filtered to your credential's scopes)
Expand Down
63 changes: 0 additions & 63 deletions src/commands/repo/grep.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/commands/repo/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import { repoListCommand } from './list';
import { repoShowCommand } from './show';
import { repoFindCommand } from './find';
import { repoGrepCommand } from './grep';
import { repoTreeCommand } from './tree';
import { repoReadCommand } from './read';

export const repoCommands = [
repoListCommand,
repoShowCommand,
repoFindCommand,
repoGrepCommand,
repoTreeCommand,
repoReadCommand,
];
37 changes: 0 additions & 37 deletions src/commands/repo/read.ts

This file was deleted.

40 changes: 0 additions & 40 deletions src/commands/repo/tree.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const RESOURCE_ORDER: Record<string, ResourceGroup> = {
feed: { name: 'feed', description: 'Workspace activity feed (what just happened)', order: 6 },
issue: { name: 'issue', description: 'Detected issues (anomalies + alerts) and their timelines', order: 8 },
service: { name: 'service', description: 'Cloud infrastructure (nodes, logs, metrics, graph)', order: 20 },
repo: { name: 'repo', description: 'Repositories and code search', order: 30 },
tools: { name: 'tools', description: 'Run Polylane agent tools (observability, infra graph, code search)', order: 40 },
repo: { name: 'repo', description: 'Repositories', order: 30 },
tools: { name: 'tools', description: 'Run Polylane agent tools (observability, infra graph, GitHub reads)', order: 40 },
memory: { name: 'memory', description: 'Persistent agent memory', order: 50 },
note: { name: 'note', description: 'Daily and global workspace notes', order: 52 },
thread: { name: 'thread', description: 'Conversation threads', order: 60 },
Expand Down
Loading