@korso/shepherd 0.8.1 → 0.8.2
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/README.md +2 -2
- package/dist/index.js +55 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ override only to replace what's detected:
|
|
|
55
55
|
| `REPO` | `git remote origin` → `owner/repo`, else repo folder name, else `unknown-repo` | `Korso-AI/shepherd` |
|
|
56
56
|
| `BRANCH` | `git rev-parse --abbrev-ref HEAD`, else `HEAD` | `main` |
|
|
57
57
|
| `BASE_BRANCH` | `origin/HEAD`, else `origin/main` / `origin/master` (used for the change-awareness heads-up) | `origin/main` |
|
|
58
|
-
| `HUMAN` | git `user.name`, else local-part of `user.email`, else this device's **cached** last-detected name, else a generated name | `
|
|
58
|
+
| `HUMAN` | git `user.name`, else local-part of `user.email`, else this device's **cached** last-detected name, else a generated name | `alex` |
|
|
59
59
|
| `PROGRAM` | defaults to `claude-code` | `codex` |
|
|
60
60
|
| `MODEL` | omitted — **never auto-detected**, so set it if you want it shown | `claude-sonnet-4-6` |
|
|
61
61
|
| `HEARTBEAT_INTERVAL_SECONDS` | defaults to `60` | `30` |
|
|
@@ -280,7 +280,7 @@ is auto-detected from git):
|
|
|
280
280
|
claude mcp add shepherd -s user -e HUB_URL=https://shepherd.example.com -e TEAM_TOKEN=tok_abc123 -- npx -y --package=@korso/shepherd shepherd-mcp
|
|
281
281
|
```
|
|
282
282
|
|
|
283
|
-
Add any optional overrides from §2 with extra `-e` flags (e.g. `-e MODEL=claude-sonnet-4-6 -e HUMAN=
|
|
283
|
+
Add any optional overrides from §2 with extra `-e` flags (e.g. `-e MODEL=claude-sonnet-4-6 -e HUMAN=alex`).
|
|
284
284
|
|
|
285
285
|
Alternative — a `.mcp.json` at the **root of the repo you're working in**
|
|
286
286
|
(optional overrides shown commented-style; drop the ones you don't need):
|
package/dist/index.js
CHANGED
|
@@ -558,6 +558,9 @@ var ListWorkspacesResponse = z2.object({
|
|
|
558
558
|
var DeleteWorkspaceResponse = z2.object({
|
|
559
559
|
deleted: z2.literal(true)
|
|
560
560
|
});
|
|
561
|
+
var DeleteAccountResponse = z2.object({
|
|
562
|
+
deleted: z2.literal(true)
|
|
563
|
+
});
|
|
561
564
|
var MintTokenRequest = z2.object({
|
|
562
565
|
name: z2.string().min(1).optional()
|
|
563
566
|
});
|
|
@@ -598,6 +601,16 @@ var InviteByEmailResponse = z2.object({
|
|
|
598
601
|
email: z2.string(),
|
|
599
602
|
sentAt: IsoTimestamp
|
|
600
603
|
});
|
|
604
|
+
var EmailInviteSummary = z2.object({
|
|
605
|
+
id: z2.string(),
|
|
606
|
+
email: z2.string(),
|
|
607
|
+
sentAt: IsoTimestamp,
|
|
608
|
+
// ISO timestamp string, or null when the invite never expires.
|
|
609
|
+
expiresAt: IsoTimestamp.nullable()
|
|
610
|
+
});
|
|
611
|
+
var ListEmailInvitesResponse = z2.object({
|
|
612
|
+
invites: z2.array(EmailInviteSummary)
|
|
613
|
+
});
|
|
601
614
|
var RedeemInviteResponse = z2.object({
|
|
602
615
|
// The workspace the caller just joined.
|
|
603
616
|
workspace: WorkspaceSummary
|
|
@@ -623,6 +636,48 @@ var FeedbackResponse = z2.object({
|
|
|
623
636
|
// uuid PK (the feedback table, like workspaces, uses gen_random_uuid()).
|
|
624
637
|
id: z2.string()
|
|
625
638
|
});
|
|
639
|
+
var TrendPoint = z2.object({
|
|
640
|
+
// `YYYY-MM-DD` (UTC day).
|
|
641
|
+
date: z2.string(),
|
|
642
|
+
count: z2.number()
|
|
643
|
+
});
|
|
644
|
+
var TopWorkspace = z2.object({
|
|
645
|
+
name: z2.string(),
|
|
646
|
+
slug: z2.string(),
|
|
647
|
+
members: z2.number(),
|
|
648
|
+
agents: z2.number(),
|
|
649
|
+
liveSessions: z2.number()
|
|
650
|
+
});
|
|
651
|
+
var ShepherdAnalyticsResponse = z2.object({
|
|
652
|
+
generatedAt: IsoTimestamp,
|
|
653
|
+
totals: z2.object({
|
|
654
|
+
accounts: z2.number(),
|
|
655
|
+
workspaces: z2.number(),
|
|
656
|
+
memberships: z2.number(),
|
|
657
|
+
agents: z2.number(),
|
|
658
|
+
liveSessions: z2.number(),
|
|
659
|
+
activeTokens: z2.number(),
|
|
660
|
+
revokedTokens: z2.number(),
|
|
661
|
+
activeInvites: z2.number(),
|
|
662
|
+
feedback: z2.number(),
|
|
663
|
+
changeRecords: z2.number(),
|
|
664
|
+
activeWorkItems: z2.number()
|
|
665
|
+
}),
|
|
666
|
+
engagement: z2.object({
|
|
667
|
+
activeWorkspaces7d: z2.number(),
|
|
668
|
+
activeWorkspaces30d: z2.number(),
|
|
669
|
+
avgMembersPerWorkspace: z2.number(),
|
|
670
|
+
largestWorkspace: z2.number()
|
|
671
|
+
}),
|
|
672
|
+
feedbackByType: z2.array(z2.object({ type: z2.string(), count: z2.number() })),
|
|
673
|
+
trends: z2.object({
|
|
674
|
+
newAccounts: z2.array(TrendPoint),
|
|
675
|
+
newWorkspaces: z2.array(TrendPoint),
|
|
676
|
+
newSessions: z2.array(TrendPoint),
|
|
677
|
+
commits: z2.array(TrendPoint)
|
|
678
|
+
}),
|
|
679
|
+
topWorkspaces: z2.array(TopWorkspace)
|
|
680
|
+
});
|
|
626
681
|
|
|
627
682
|
// src/marker.ts
|
|
628
683
|
import * as fs from "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@korso/shepherd",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Shepherd MCP server — gives any MCP-capable agent (Claude Code, Codex, etc.) four advisory cross-session coordination tools (work/done/announce/sync) backed by the shared Shepherd hub. Joins the workspace automatically and ships standing instructions so the agent self-coordinates.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|