@ginkoai/cli 2.1.6-beta.0 → 2.1.6
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/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +84 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/templates/skills/ginko/SKILL.md +0 -209
- package/dist/templates/skills/ginko/commands-reference.md +0 -221
- package/dist/templates/skills/pull.md +0 -56
- package/dist/templates/skills/push.md +0 -73
- package/dist/templates/skills/skills/ginko/SKILL.md +0 -209
- package/dist/templates/skills/skills/ginko/commands-reference.md +0 -221
- package/dist/templates/skills/skills/pull.md +0 -56
- package/dist/templates/skills/skills/push.md +0 -73
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
# Ginko CLI Commands Reference
|
|
2
|
-
|
|
3
|
-
Complete reference for all ginko CLI commands.
|
|
4
|
-
|
|
5
|
-
## Session Commands
|
|
6
|
-
|
|
7
|
-
### `ginko start [sessionId]`
|
|
8
|
-
Start or resume a session with event-based context loading.
|
|
9
|
-
- Loads context from `.ginko/sessions/[user]/`
|
|
10
|
-
- Shows active sprint and next task
|
|
11
|
-
- Warns about uncommitted files
|
|
12
|
-
|
|
13
|
-
### `ginko status`
|
|
14
|
-
Show current session status.
|
|
15
|
-
|
|
16
|
-
### `ginko handoff [message]`
|
|
17
|
-
Pause current session and create handoff document.
|
|
18
|
-
- Archives previous session
|
|
19
|
-
- Creates continuity document for next session
|
|
20
|
-
|
|
21
|
-
### `ginko log [description]`
|
|
22
|
-
Log an event to the current session (defensive logging).
|
|
23
|
-
|
|
24
|
-
### `ginko compact`
|
|
25
|
-
Reduce context size by removing stale information.
|
|
26
|
-
|
|
27
|
-
## Task Management
|
|
28
|
-
|
|
29
|
-
### `ginko task complete <taskId>`
|
|
30
|
-
Mark task as complete. Updates knowledge graph (syncs to dashboard).
|
|
31
|
-
- Options: `--cascade` (auto-complete parent if all siblings done)
|
|
32
|
-
|
|
33
|
-
### `ginko task start <taskId>`
|
|
34
|
-
Mark task as in progress.
|
|
35
|
-
|
|
36
|
-
### `ginko task pause <taskId>`
|
|
37
|
-
Return task to not_started state.
|
|
38
|
-
|
|
39
|
-
### `ginko task block <taskId> [reason]`
|
|
40
|
-
Block task with reason. Prompts for reason if not provided.
|
|
41
|
-
|
|
42
|
-
### `ginko task show <taskId>`
|
|
43
|
-
Show current task status.
|
|
44
|
-
|
|
45
|
-
## Sprint Management
|
|
46
|
-
|
|
47
|
-
### `ginko sprint start <sprintId>`
|
|
48
|
-
Start sprint (planned → active).
|
|
49
|
-
|
|
50
|
-
### `ginko sprint complete <sprintId>`
|
|
51
|
-
Complete sprint (active → complete).
|
|
52
|
-
|
|
53
|
-
### `ginko sprint pause <sprintId>`
|
|
54
|
-
Pause sprint (active → paused).
|
|
55
|
-
|
|
56
|
-
### `ginko sprint status show <sprintId>`
|
|
57
|
-
Show current sprint status.
|
|
58
|
-
|
|
59
|
-
### `ginko sprint deps`
|
|
60
|
-
Visualize task dependencies as a tree.
|
|
61
|
-
|
|
62
|
-
## Knowledge Graph
|
|
63
|
-
|
|
64
|
-
### `ginko graph init`
|
|
65
|
-
Initialize knowledge graph for your project.
|
|
66
|
-
|
|
67
|
-
### `ginko graph load [options]`
|
|
68
|
-
Upload documents to knowledge graph.
|
|
69
|
-
- `--docs-only`: Load ADRs and PRDs only
|
|
70
|
-
- `--extended-only`: Load patterns, gotchas, sessions only
|
|
71
|
-
- `--force`: Reload all documents even if unchanged
|
|
72
|
-
|
|
73
|
-
### `ginko graph status`
|
|
74
|
-
Show graph statistics and health.
|
|
75
|
-
|
|
76
|
-
### `ginko graph health`
|
|
77
|
-
Show graph reliability metrics (success rate, latency, retries).
|
|
78
|
-
|
|
79
|
-
### `ginko graph query <text>`
|
|
80
|
-
Search documents using semantic similarity.
|
|
81
|
-
- Options: `--limit N`, `--type <TYPE>`
|
|
82
|
-
|
|
83
|
-
### `ginko graph explore <documentId>`
|
|
84
|
-
Explore document and its connections.
|
|
85
|
-
|
|
86
|
-
### `ginko graph migrate <migration>`
|
|
87
|
-
Run graph migrations.
|
|
88
|
-
|
|
89
|
-
## Team & Assignment
|
|
90
|
-
|
|
91
|
-
### `ginko assign <taskIdOrEmail> [email]`
|
|
92
|
-
Assign tasks to team members.
|
|
93
|
-
- Updates both graph and sprint markdown
|
|
94
|
-
- Options: `--sprint <id> --all` (assign all tasks in sprint)
|
|
95
|
-
|
|
96
|
-
### `ginko sync [options]`
|
|
97
|
-
Pull dashboard knowledge edits to local git.
|
|
98
|
-
- `--preview`: Preview without syncing
|
|
99
|
-
- `--dry-run`: Preview what files would sync
|
|
100
|
-
- `--force`: Overwrite local files
|
|
101
|
-
- `--type <type>`: Sync only specific type (ADR, PRD, Pattern, etc.)
|
|
102
|
-
- `--no-commit`: Sync without committing
|
|
103
|
-
|
|
104
|
-
### `ginko team-activity [user]`
|
|
105
|
-
View team activity from user-namespaced session logs.
|
|
106
|
-
|
|
107
|
-
### `ginko invite [email]`
|
|
108
|
-
Invite collaborators to join your team.
|
|
109
|
-
|
|
110
|
-
### `ginko join [code]`
|
|
111
|
-
Join a team using an invitation code.
|
|
112
|
-
|
|
113
|
-
## Planning & Architecture
|
|
114
|
-
|
|
115
|
-
### `ginko charter`
|
|
116
|
-
Create and manage project charter (AI-assisted).
|
|
117
|
-
|
|
118
|
-
### `ginko epic`
|
|
119
|
-
Create and manage epics with status tracking.
|
|
120
|
-
|
|
121
|
-
### `ginko sprint [intent]`
|
|
122
|
-
Sprint management and planning commands.
|
|
123
|
-
|
|
124
|
-
### `ginko plan [feature]`
|
|
125
|
-
Create phased implementation plan with acceptance criteria.
|
|
126
|
-
|
|
127
|
-
### `ginko architecture [decision]`
|
|
128
|
-
Design mode for crafting ADRs with AI enhancement.
|
|
129
|
-
|
|
130
|
-
### `ginko roadmap`
|
|
131
|
-
View product roadmap (Now/Next/Later priority lanes).
|
|
132
|
-
|
|
133
|
-
### `ginko backlog`
|
|
134
|
-
Manage git-native backlog items.
|
|
135
|
-
|
|
136
|
-
### `ginko feature <description>`
|
|
137
|
-
Quick create a feature (shortcut for backlog create feature).
|
|
138
|
-
|
|
139
|
-
### `ginko story <description>`
|
|
140
|
-
Quick create a story (shortcut for backlog create story).
|
|
141
|
-
|
|
142
|
-
## Development Tools
|
|
143
|
-
|
|
144
|
-
### `ginko ship [message]`
|
|
145
|
-
AI-enhanced shipping with smart commit messages and PR descriptions.
|
|
146
|
-
|
|
147
|
-
### `ginko verify <taskId>`
|
|
148
|
-
Verify task completion by running acceptance criteria checks.
|
|
149
|
-
|
|
150
|
-
### `ginko vibecheck [concern]`
|
|
151
|
-
Pause moment for recalibration - conversational check-in.
|
|
152
|
-
|
|
153
|
-
### `ginko capture [description]`
|
|
154
|
-
Capture a learning, discovery, or important context.
|
|
155
|
-
|
|
156
|
-
### `ginko explore [topic]`
|
|
157
|
-
Collaborative thinking mode for exploring problems and solutions.
|
|
158
|
-
|
|
159
|
-
### `ginko reflect <intent>`
|
|
160
|
-
Universal reflection pattern for AI-enhanced content generation.
|
|
161
|
-
|
|
162
|
-
## Multi-Agent
|
|
163
|
-
|
|
164
|
-
### `ginko orchestrate`
|
|
165
|
-
Run as supervisor agent to coordinate multi-agent task execution.
|
|
166
|
-
|
|
167
|
-
### `ginko agent`
|
|
168
|
-
Manage AI agents for multi-agent collaboration.
|
|
169
|
-
|
|
170
|
-
### `ginko checkpoint`
|
|
171
|
-
Manage checkpoints for task rollback and recovery.
|
|
172
|
-
|
|
173
|
-
### `ginko dlq`
|
|
174
|
-
Manage Dead Letter Queue (failed events).
|
|
175
|
-
|
|
176
|
-
### `ginko escalation`
|
|
177
|
-
Manage human escalations for multi-agent collaboration.
|
|
178
|
-
|
|
179
|
-
### `ginko notifications`
|
|
180
|
-
Manage notification hooks for human observability.
|
|
181
|
-
|
|
182
|
-
## Authentication
|
|
183
|
-
|
|
184
|
-
### `ginko login`
|
|
185
|
-
Authenticate CLI with GitHub via Supabase OAuth.
|
|
186
|
-
|
|
187
|
-
### `ginko logout`
|
|
188
|
-
Clear local authentication session.
|
|
189
|
-
|
|
190
|
-
### `ginko whoami`
|
|
191
|
-
Display current authentication status and user information.
|
|
192
|
-
|
|
193
|
-
## Configuration
|
|
194
|
-
|
|
195
|
-
### `ginko init`
|
|
196
|
-
Initialize Ginko in your project (sets up local structure + cloud graph).
|
|
197
|
-
|
|
198
|
-
### `ginko config [key] [value]`
|
|
199
|
-
Manage Ginko configuration.
|
|
200
|
-
|
|
201
|
-
### `ginko context`
|
|
202
|
-
Manage session context.
|
|
203
|
-
|
|
204
|
-
## IDE Integration
|
|
205
|
-
|
|
206
|
-
### `ginko init-cursor`
|
|
207
|
-
Generate Cursor setup preview or apply it to the repository.
|
|
208
|
-
|
|
209
|
-
### `ginko uninstall-cursor`
|
|
210
|
-
Remove Cursor integration.
|
|
211
|
-
|
|
212
|
-
### `ginko init-copilot`
|
|
213
|
-
Generate GitHub Copilot setup preview or apply to repository.
|
|
214
|
-
|
|
215
|
-
### `ginko uninstall-copilot`
|
|
216
|
-
Remove GitHub Copilot integration.
|
|
217
|
-
|
|
218
|
-
## Migration
|
|
219
|
-
|
|
220
|
-
### `ginko migrate`
|
|
221
|
-
Migration utilities for syncing markdown to graph.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Pull Skill (ADR-077)
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Pull dashboard edits from the Ginko Cloud knowledge graph to local git repository.
|
|
5
|
-
|
|
6
|
-
## When to Use
|
|
7
|
-
- At the start of a session when team context may be stale
|
|
8
|
-
- When `ginko start` shows staleness warnings
|
|
9
|
-
- When user requests updates from dashboard
|
|
10
|
-
- After team members have made edits in the dashboard
|
|
11
|
-
|
|
12
|
-
## Command Reference
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# Pull all changes from graph
|
|
16
|
-
ginko pull
|
|
17
|
-
|
|
18
|
-
# Pull specific entity types
|
|
19
|
-
ginko pull sprint # Pull sprint changes (status updates)
|
|
20
|
-
ginko pull adr # Pull ADR edits
|
|
21
|
-
ginko pull epic # Pull epic changes
|
|
22
|
-
|
|
23
|
-
# Options
|
|
24
|
-
ginko pull --dry-run # Preview without pulling
|
|
25
|
-
ginko pull --force # Overwrite local with graph versions
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Options
|
|
29
|
-
|
|
30
|
-
| Flag | Description | Default |
|
|
31
|
-
|------|-------------|---------|
|
|
32
|
-
| `--dry-run` | Preview what would be pulled | false |
|
|
33
|
-
| `--force` | Overwrite local files with graph versions | false |
|
|
34
|
-
|
|
35
|
-
## Error Handling
|
|
36
|
-
|
|
37
|
-
| Error | Action |
|
|
38
|
-
|-------|--------|
|
|
39
|
-
| `Not authenticated` | Prompt: Run `ginko login` |
|
|
40
|
-
| `Graph not initialized` | Prompt: Run `ginko graph init` |
|
|
41
|
-
| Conflict detected | Interactive resolution (use-graph, use-local, skip) |
|
|
42
|
-
| 5xx server error | Retry with exponential backoff |
|
|
43
|
-
|
|
44
|
-
## Behavioral Rules
|
|
45
|
-
|
|
46
|
-
1. **Pull at session start** - When `ginko start` shows staleness, auto-pull
|
|
47
|
-
2. **Content conflicts: local wins** - Per ADR-060, content in git is authoritative
|
|
48
|
-
3. **State conflicts: graph wins** - Status, assignments are graph-authoritative
|
|
49
|
-
4. **Never use deprecated alternatives** - Do not use `ginko sync` (deprecated)
|
|
50
|
-
5. **After pull, suggest push** - If local has unpushed changes, suggest `ginko push`
|
|
51
|
-
|
|
52
|
-
## Anti-Patterns (DO NOT)
|
|
53
|
-
|
|
54
|
-
- Do NOT use `ginko sync` (deprecated, use `ginko pull`)
|
|
55
|
-
- Do NOT use curl/fetch to hit graph API directly
|
|
56
|
-
- Do NOT skip pull when team context is stale
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# Push Skill (ADR-077)
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Push local content changes to the Ginko Cloud knowledge graph using git-integrated change detection.
|
|
5
|
-
|
|
6
|
-
## When to Use
|
|
7
|
-
- After creating or modifying content files (epics, sprints, ADRs, charters, patterns, gotchas)
|
|
8
|
-
- After `ginko handoff` to ensure all work is synced
|
|
9
|
-
- After `ginko task complete` / `ginko sprint complete` to persist state
|
|
10
|
-
- When the orchestrator detects unpushed content changes
|
|
11
|
-
- When user requests sync to graph
|
|
12
|
-
|
|
13
|
-
## Command Reference
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Push all changes since last push
|
|
17
|
-
ginko push
|
|
18
|
-
|
|
19
|
-
# Push specific entity types
|
|
20
|
-
ginko push epic # All changed epics
|
|
21
|
-
ginko push epic EPIC-001 # Specific epic
|
|
22
|
-
ginko push sprint e001_s01 # Specific sprint
|
|
23
|
-
ginko push charter # Project charter
|
|
24
|
-
ginko push adr # All changed ADRs
|
|
25
|
-
|
|
26
|
-
# Options
|
|
27
|
-
ginko push --dry-run # Preview without pushing
|
|
28
|
-
ginko push --force # Overwrite graph content
|
|
29
|
-
ginko push --all # Push all (not just changes)
|
|
30
|
-
ginko push --no-events # Skip event files
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Options
|
|
34
|
-
|
|
35
|
-
| Flag | Description | Default |
|
|
36
|
-
|------|-------------|---------|
|
|
37
|
-
| `--dry-run` | Preview what would be pushed | false |
|
|
38
|
-
| `--force` | Overwrite graph even if conflicts | false |
|
|
39
|
-
| `--all` | Push all content files, ignoring change detection | false |
|
|
40
|
-
| `--no-events` | Skip pushing event JSONL files | false |
|
|
41
|
-
|
|
42
|
-
## Error Handling
|
|
43
|
-
|
|
44
|
-
| Error | Action |
|
|
45
|
-
|-------|--------|
|
|
46
|
-
| `Not authenticated` | Prompt: Run `ginko login` |
|
|
47
|
-
| `Graph not initialized` | Prompt: Run `ginko graph init` |
|
|
48
|
-
| 5xx server error | Retry with exponential backoff (handled by API client) |
|
|
49
|
-
| 4xx client error | Report to user, do not retry |
|
|
50
|
-
| Network error | Retry up to 3 times |
|
|
51
|
-
|
|
52
|
-
## Behavioral Rules
|
|
53
|
-
|
|
54
|
-
1. **Always push after entity creation** - When an epic, sprint, charter, or ADR is created, push immediately
|
|
55
|
-
2. **Push is non-blocking for auto-push** - When dispatched as a subagent, run in background
|
|
56
|
-
3. **Prefer targeted push** - Use `ginko push epic` instead of `ginko push` when you know the entity type
|
|
57
|
-
4. **Never use deprecated alternatives** - Do not use `ginko graph load` or `--sync` flags
|
|
58
|
-
5. **Report results concisely** - Show file count, task count, and event count
|
|
59
|
-
|
|
60
|
-
## Anti-Patterns (DO NOT)
|
|
61
|
-
|
|
62
|
-
- Do NOT use `ginko graph load` (deprecated, use `ginko push --all`)
|
|
63
|
-
- Do NOT use `ginko epic --sync` (deprecated, use `ginko push epic`)
|
|
64
|
-
- Do NOT use `ginko charter --sync` (deprecated, use `ginko push charter`)
|
|
65
|
-
- Do NOT use curl/fetch to hit graph API directly
|
|
66
|
-
- Do NOT skip push after creating content
|
|
67
|
-
|
|
68
|
-
## Exit Codes
|
|
69
|
-
|
|
70
|
-
| Code | Meaning |
|
|
71
|
-
|------|---------|
|
|
72
|
-
| 0 | Push completed successfully |
|
|
73
|
-
| 1 | Push failed (auth, config, or API error) |
|