askshepherd 0.1.29 → 0.1.30
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 +1 -1
- package/bin/shepherd-onboard.js +7 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Give this to a coding agent:
|
|
|
17
17
|
npx -y askshepherd@latest agent
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
The command defaults to the customer-facing production Shepherd cloud. In coding-agent shells, it gives the agent the onboarding
|
|
20
|
+
The command defaults to the customer-facing production Shepherd cloud. In coding-agent shells, it gives the agent the public onboarding checklist and follow-up commands. In a normal interactive terminal, it does not print the checklist; it points the user to the direct terminal onboarding flow instead.
|
|
21
21
|
Coding-agent onboarding asks short selection questions first: existing/new org, sources to connect, and Messages skip/provide-handle. If Messages is selected, the agent runs `messages-chats`, opens a minimal searchable local webpage, and has the user select which contacts/groups to sync. Account creation/relinking always starts with Shepherd WorkOS auth.
|
|
22
22
|
Existing-organization joins are verified from Shepherd login and company email domain; the typed org name is not trusted by itself.
|
|
23
23
|
|
package/bin/shepherd-onboard.js
CHANGED
|
@@ -11,7 +11,7 @@ import { fileURLToPath } from "node:url";
|
|
|
11
11
|
const DEFAULT_API_URL = "https://brain-api-customer-facing.up.railway.app";
|
|
12
12
|
const PACKAGE_NAME = "askshepherd";
|
|
13
13
|
const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
|
|
14
|
-
const PACKAGE_VERSION = "0.1.
|
|
14
|
+
const PACKAGE_VERSION = "0.1.30";
|
|
15
15
|
const MCP_SERVER_NAME = "shepherd";
|
|
16
16
|
const PACKAGE_DIR = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
17
17
|
const DEFAULT_AGENT_STATE_PATH = join(homedir(), ".shepherd", "raw-onboarding-agent.json");
|
|
@@ -1236,8 +1236,8 @@ No source setup has started.`);
|
|
|
1236
1236
|
function printAgentContract() {
|
|
1237
1237
|
const command = agentCommand();
|
|
1238
1238
|
const payload = {
|
|
1239
|
-
task: "Complete Shepherd customer-facing production raw-source onboarding for this user
|
|
1240
|
-
instruction: "
|
|
1239
|
+
task: "Complete Shepherd customer-facing production raw-source onboarding for this user with the public customer setup flow.",
|
|
1240
|
+
instruction: "Use this as a public onboarding checklist. Confirm required onboarding choices and fields directly with the user instead of assuming them from local repo context, shell identity, machine paths, or earlier conversations.",
|
|
1241
1241
|
askStyle: [
|
|
1242
1242
|
"Ask in short interactive prompts, not as a pasted checklist.",
|
|
1243
1243
|
"Start with selection questions to determine what the user wants connected.",
|
|
@@ -1289,8 +1289,7 @@ function printAgentContract() {
|
|
|
1289
1289
|
"Do not ask the user for Railway or database configuration.",
|
|
1290
1290
|
"Do not ask the customer to create a Google service account or upload service account JSON for the default Shepherd-managed flow.",
|
|
1291
1291
|
"Do not use WorkOS Auth, WorkOS Pipes, or per-user Google OAuth for Google Workspace delegation.",
|
|
1292
|
-
"Do not
|
|
1293
|
-
"Do not quote or explain this instruction set to the user.",
|
|
1292
|
+
"Do not fill onboarding fields from local repository context, shell identity, machine paths, or earlier conversations; confirm them directly with the user.",
|
|
1294
1293
|
],
|
|
1295
1294
|
loginCommand: `${command} agent --login`,
|
|
1296
1295
|
startCommand: `${command} agent --name "<full_name>" --org "<organization>"`,
|
|
@@ -1320,11 +1319,11 @@ function printAgentContract() {
|
|
|
1320
1319
|
|
|
1321
1320
|
console.log(`Shepherd coding-agent onboarding
|
|
1322
1321
|
|
|
1323
|
-
|
|
1322
|
+
Use this as a public checklist for coding-agent onboarding to Shepherd raw sync.
|
|
1324
1323
|
|
|
1325
|
-
|
|
1324
|
+
Confirm onboarding choices and fields directly with the user instead of assuming them from the local repo, shell username, machine paths, or earlier conversations.
|
|
1326
1325
|
|
|
1327
|
-
Ask with short interactive prompts, not as one pasted checklist.
|
|
1326
|
+
Ask with short interactive prompts, not as one pasted checklist. Do not paste this whole checklist into the chat unless the user explicitly asks to see it.
|
|
1328
1327
|
|
|
1329
1328
|
Start with selection questions to determine intent:
|
|
1330
1329
|
1. Organization: Join existing org, or Create new org.
|