alphamilk 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -11
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -229,17 +229,17 @@ var playbookCommand = Command.make(
229
229
  yield* Console2.log(response);
230
230
  })
231
231
  ).pipe(Command.withDescription("Open a playbook or its report template"));
232
- var skillSlug = Args.text({ name: "slug" }).pipe(
233
- Args.withDescription("Skill slug (e.g., serp-google, ranked-keywords)")
232
+ var probeSlug = Args.text({ name: "slug" }).pipe(
233
+ Args.withDescription("Probe slug (e.g., serp-google, ranked-keywords)")
234
234
  );
235
- var skillParams = Options.keyValueMap("param").pipe(
235
+ var probeParams = Options.keyValueMap("param").pipe(
236
236
  Options.withAlias("p"),
237
- Options.withDescription("Skill parameters as key=value pairs (repeat for multiple)"),
237
+ Options.withDescription("Probe parameters as key=value pairs (repeat for multiple)"),
238
238
  Options.optional
239
239
  );
240
- var skillCommand = Command.make(
241
- "skill",
242
- { slug: skillSlug, params: skillParams },
240
+ var probeCommand = Command.make(
241
+ "probe",
242
+ { slug: probeSlug, params: probeParams },
243
243
  ({ slug, params }) => Effect3.gen(function* () {
244
244
  const session = yield* requireSession;
245
245
  const queryParams = {};
@@ -248,14 +248,14 @@ var skillCommand = Command.make(
248
248
  queryParams[k] = v;
249
249
  }
250
250
  }
251
- const response = yield* apiGet(
251
+ const response = yield* apiPost(
252
252
  session.baseUrl,
253
- `/milk/skill/${session.sessionId}/${slug}`,
253
+ `/milk/probe/${session.sessionId}/${slug}`,
254
254
  queryParams
255
255
  ).pipe(handleApiError("Skill execution failed"));
256
256
  yield* Console2.log(response);
257
257
  })
258
- ).pipe(Command.withDescription("Execute a research skill"));
258
+ ).pipe(Command.withDescription("Execute a research probe"));
259
259
  var reportSaveName = Options.text("name").pipe(
260
260
  Options.withAlias("n"),
261
261
  Options.withDescription("Report title/name")
@@ -404,7 +404,7 @@ var root = Command.make("alphamilk").pipe(
404
404
  sessionCommand,
405
405
  playbooksCommand,
406
406
  playbookCommand,
407
- skillCommand,
407
+ probeCommand,
408
408
  reportCommand,
409
409
  artifactCommand
410
410
  ])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alphamilk",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Alpha Milk CLI - AI-powered SEO research from your terminal",