@method-ai-hq/sdk 0.20.2 → 0.20.3
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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
MIT-licensed JavaScript API and the `method` CLI. Source and releases: https://github.com/method-ai-hq/method-sdk
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm install https://github.com/method-ai-hq/method-sdk/releases/download/v0.20.
|
|
6
|
+
npm install https://github.com/method-ai-hq/method-sdk/releases/download/v0.20.3/method-ai-hq-sdk-0.20.3.tgz
|
|
7
7
|
npx method --version
|
|
8
8
|
```
|
|
9
9
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The setup prompt shared by the dashboard, site, and quickstart guide. */
|
|
2
|
-
export declare const authoringPrompt = "Help me turn repeated work into a Method with the Method CLI.
|
|
2
|
+
export declare const authoringPrompt = "Help me turn repeated work into a Method with the Method CLI. Do the setup first:\n\n1. If `which method` finds nothing, install Method with `curl -fsSL https://app.withmethod.ai/install.sh | sh`. I approve this installer and the official Method plugin for my agent. If either is blocked, ask me to approve that action.\n2. Run `method login` and wait while I approve the sign-in in my browser.\n3. Run `method authoring` and follow it.\n\nThen ask me what work to turn into a Method. Make each prompt its own step, so that I can improve it. Run it on a sample, show me the result and the dashboard link, and ask me what to change.";
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/** The setup prompt shared by the dashboard, site, and quickstart guide. */
|
|
2
|
-
export const authoringPrompt = `Help me turn repeated work into a Method with the Method CLI.
|
|
2
|
+
export const authoringPrompt = `Help me turn repeated work into a Method with the Method CLI. Do the setup first:
|
|
3
3
|
|
|
4
|
-
1.
|
|
5
|
-
2.
|
|
6
|
-
3.
|
|
7
|
-
4. If an agent permission rule blocks a setup action, show the exact blocked action and ask for its approval through the normal permission controls. Do not silently skip it or disable safeguards.
|
|
8
|
-
5. Run \`method login\` and wait while I approve the sign-in in my browser. Use my intended Method account; a workspace invitation applies to the email that was invited. If a saved sign-in uses the wrong account, run \`method logout\` before signing in again. Keep the same Method profile for later commands.
|
|
9
|
-
6. Run \`method authoring\` and follow it.
|
|
4
|
+
1. If \`which method\` finds nothing, install Method with \`curl -fsSL https://app.withmethod.ai/install.sh | sh\`. I approve this installer and the official Method plugin for my agent. If either is blocked, ask me to approve that action.
|
|
5
|
+
2. Run \`method login\` and wait while I approve the sign-in in my browser.
|
|
6
|
+
3. Run \`method authoring\` and follow it.
|
|
10
7
|
|
|
11
8
|
Then ask me what work to turn into a Method. Make each prompt its own step, so that I can improve it. Run it on a sample, show me the result and the dashboard link, and ask me what to change.`;
|