gooseworks 0.1.5 → 0.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.
@@ -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,CA0G/D"}
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,CAoJ/D"}
@@ -92,6 +92,48 @@ curl -s $GOOSEWORKS_API_BASE/v1/credits \\
92
92
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY"
93
93
  \`\`\`
94
94
 
95
+ ## Raw API Discovery (fallback)
96
+
97
+ If no GooseWorks skill matches the user's request, you can discover and call **any API** through the Orthogonal gateway. This gives you access to 300+ APIs (Hunter, Clearbit, PDL, ZoomInfo, etc.) without needing separate API keys.
98
+
99
+ ### Search for an API
100
+ Find APIs that can handle the task:
101
+ \`\`\`bash
102
+ curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \\
103
+ -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \\
104
+ -H "Content-Type: application/json" \\
105
+ -d '{"prompt":"find email by name and company","limit":5}'
106
+ \`\`\`
107
+ Returns matching APIs with endpoint descriptions and per-call pricing.
108
+
109
+ ### Get endpoint details
110
+ Before calling an API, check its parameters:
111
+ \`\`\`bash
112
+ curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/details \\
113
+ -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \\
114
+ -H "Content-Type: application/json" \\
115
+ -d '{"api":"hunter","path":"/v2/email-finder"}'
116
+ \`\`\`
117
+
118
+ ### Call the API
119
+ Execute the API call (billed per call based on provider cost):
120
+ \`\`\`bash
121
+ curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \\
122
+ -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \\
123
+ -H "Content-Type: application/json" \\
124
+ -d '{"api":"hunter","path":"/v2/email-finder","query":{"domain":"stripe.com","first_name":"John"}}'
125
+ \`\`\`
126
+ - Use \`"body":{...}\` for POST body parameters
127
+ - Use \`"query":{...}\` for query string parameters
128
+ - Response: \`{"status":"success","data":{...},"cost":{"priceCents":...,"credits":...}}\`
129
+ - **Always tell the user the cost** from the response after each call
130
+
131
+ ### Workflow
132
+ 1. Search first — pick the best API + endpoint
133
+ 2. Get details — understand required parameters
134
+ 3. Run — call with the right parameters
135
+ 4. Parse \`.data\` from the response for the actual API result
136
+
95
137
  ## Working Directory & Output Files
96
138
 
97
139
  - **Scripts** always go to \`/tmp/gooseworks-scripts/<slug>/\` — NEVER the user's project directory
@@ -1 +1 @@
1
- {"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AAKA,sDA0GC;AA/GD;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,QAAiB;IACrD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGR,CAAC;AACF,CAAC"}
1
+ {"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AAKA,sDAoJC;AAzJD;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,QAAiB;IACrD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJR,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gooseworks",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "GooseWorks CLI — give your coding agent real data tools",
5
5
  "bin": {
6
6
  "gooseworks": "./dist/index.js"