gooseworks 0.1.2 → 0.1.4
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/install.js
CHANGED
|
@@ -83,7 +83,7 @@ exports.installCommand = new commander_1.Command('install')
|
|
|
83
83
|
}
|
|
84
84
|
// Done
|
|
85
85
|
const agentNames = targetAgents.map((a) => a === 'claude' ? 'Claude Code' : 'Cursor').join(' and ');
|
|
86
|
-
logger.done(`Setup complete! Open ${agentNames} and say "find me leads" to get started.`);
|
|
86
|
+
logger.done(`Setup complete! Open ${agentNames} and say "/gooseworks find me leads" to get started.`);
|
|
87
87
|
});
|
|
88
88
|
function resolveTargetAgents(opts) {
|
|
89
89
|
if (opts.all) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AACpC,mCAAyC;AACzC,mDAA0E;AAC1E,6CAAmD;AACnD,6CAAmD;AACnD,6CAAgE;AAChE,wDAA0C;AAC1C,yDAA+D;AAC/D,sCAAqC;AAExB,QAAA,cAAc,GAAG,IAAI,mBAAO,CAAC,SAAS,CAAC;KACjD,WAAW,CAAC,sDAAsD,CAAC;KACnE,MAAM,CAAC,UAAU,EAAE,2BAA2B,CAAC;KAC/C,MAAM,CAAC,UAAU,EAAE,sBAAsB,CAAC;KAC1C,MAAM,CAAC,OAAO,EAAE,mCAAmC,CAAC;KACpD,MAAM,CAAC,kBAAkB,EAAE,cAAc,EAAE,iBAAQ,CAAC;KACpD,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;IACrB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEvB,sCAAsC;IACtC,MAAM,YAAY,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC/C,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,E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AI,CAAC,GAAG,EAAE,CAAC;QACb,MAAM,QAAQ,GAAG,IAAA,qBAAY,GAAE,CAAC;QAChC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;YAClE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,gCAAgC;QACrD,CAAC;QACD,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,MAAM,OAAO,GAAgB,EAAE,CAAC;IAChC,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACxC,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACxC,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAuG/D"}
|
|
@@ -8,7 +8,7 @@ exports.getMasterSkillContent = getMasterSkillContent;
|
|
|
8
8
|
*/
|
|
9
9
|
function getMasterSkillContent(_apiBase) {
|
|
10
10
|
return `---
|
|
11
|
-
name:
|
|
11
|
+
name: gooseworks
|
|
12
12
|
slug: gooseworks-master
|
|
13
13
|
description: >
|
|
14
14
|
GooseWorks data toolkit. Search and scrape Twitter/X, Reddit, LinkedIn, websites, and the web.
|
|
@@ -60,6 +60,7 @@ curl -s $GOOSEWORKS_API_BASE/api/skills/catalog/<slug> \\
|
|
|
60
60
|
This returns:
|
|
61
61
|
- **content**: The skill's instructions (SKILL.md) — follow these step by step
|
|
62
62
|
- **scripts**: Python scripts the skill uses — save them locally and run them
|
|
63
|
+
- **files**: Extra files the skill needs (configs, shared tools like \`tools/apify_guard.py\`) — save them relative to \`/tmp/gooseworks-scripts/\`
|
|
63
64
|
- **requiresSkills**: Array of dependency skill slugs (for composite skills)
|
|
64
65
|
- **dependencySkills**: Full content and scripts for each dependency
|
|
65
66
|
|
|
@@ -70,12 +71,17 @@ If the response includes \`dependencySkills\` (non-empty array), set up each dep
|
|
|
70
71
|
- Install any pip dependencies it needs
|
|
71
72
|
2. When the main skill's instructions reference a dependency script (e.g. \`python3 skills/reddit-scraper/scripts/scrape_reddit.py\`), run it from \`/tmp/gooseworks-scripts/<dep-slug>/\` instead
|
|
72
73
|
|
|
73
|
-
### Step 4:
|
|
74
|
-
Follow the instructions in the skill's \`content\` field.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
### Step 4: Set up and run the skill
|
|
75
|
+
Follow the instructions in the skill's \`content\` field. **Save ALL files from both \`scripts\` AND \`files\` before running anything:**
|
|
76
|
+
|
|
77
|
+
1. Save each script from \`scripts\` to \`/tmp/gooseworks-scripts/<slug>/scripts/\` — **NEVER save scripts into the user's project directory**
|
|
78
|
+
2. **IMPORTANT: Also save everything from \`files\`** — these contain required modules (like \`tools/apify_guard.py\`) that scripts import at runtime:
|
|
79
|
+
- Files starting with \`tools/\` → save to \`/tmp/gooseworks-scripts/tools/\` (shared path, NOT inside the skill dir)
|
|
80
|
+
- All other files → save to \`/tmp/gooseworks-scripts/<slug>/<path>\`
|
|
81
|
+
- **If you skip this step, scripts will crash with ImportError**
|
|
82
|
+
3. Install any required pip dependencies mentioned in the instructions
|
|
83
|
+
4. Run the script with the parameters described in the instructions
|
|
84
|
+
5. When instructions reference dependency scripts, use paths from Step 3: \`/tmp/gooseworks-scripts/<dep-slug>/<script>\`
|
|
79
85
|
|
|
80
86
|
### Check credit balance
|
|
81
87
|
\`\`\`bash
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AAKA,
|
|
1
|
+
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AAKA,sDAuGC;AA5GD;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,QAAiB;IACrD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGR,CAAC;AACF,CAAC"}
|