@minus-ai/create-skill 0.1.0-beta.18 → 0.1.0-beta.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minus-ai/create-skill",
3
- "version": "0.1.0-beta.18",
3
+ "version": "0.1.0-beta.19",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-skill": "index.mjs"
@@ -8,4 +8,5 @@ class {{className}}(Pipeline):
8
8
  country: str = ctx.entry_params.get("country", "US")
9
9
 
10
10
  result = f"ASINs: {asins} ({country})"
11
+ # TODO: 实现「步骤1」的逻辑
11
12
  return StepOutcome.complete(payload={"text": result})
@@ -6,4 +6,5 @@ class {{className}}(Pipeline):
6
6
  async def step_1(self, ctx: PipelineContext) -> StepOutcome:
7
7
  text: str = ctx.entry_params.get("text", "")
8
8
 
9
+ # TODO: 实现「步骤1」的逻辑
9
10
  return StepOutcome.complete(payload={"text": text})
@@ -4,5 +4,5 @@ from minus_ai_sdk import Pipeline, PipelineContext, StepOutcome
4
4
  class {{className}}(Pipeline):
5
5
 
6
6
  async def step_1(self, ctx: PipelineContext) -> StepOutcome:
7
- # TODO: implement step logic
8
- return StepOutcome.complete(payload={"text": "done"})
7
+ # TODO: 实现「步骤1」的逻辑
8
+ return StepOutcome.complete(payload={"text": "步骤1完成"})
@@ -8,4 +8,5 @@ class {{className}}(Pipeline):
8
8
  file_name: str = ctx.entry_params.get("fileName", "")
9
9
 
10
10
  result = f"File: {file_name} (id: {file_id})"
11
+ # TODO: 实现「步骤1」的逻辑
11
12
  return StepOutcome.complete(payload={"text": result})
@@ -8,4 +8,5 @@ class {{className}}(Pipeline):
8
8
  country: str = ctx.entry_params.get("country", "US")
9
9
 
10
10
  result = f"Keywords: {keywords} ({country})"
11
+ # TODO: 实现「步骤1」的逻辑
11
12
  return StepOutcome.complete(payload={"text": result})
@@ -9,4 +9,5 @@ class {{className}}(Pipeline):
9
9
  country: str = ctx.entry_params.get("country", "US")
10
10
 
11
11
  result = f"[{input_type.upper()}] {value} ({country})"
12
+ # TODO: 实现「步骤1」的逻辑
12
13
  return StepOutcome.complete(payload={"text": result})
@@ -1 +0,0 @@
1
- 3
@@ -1 +0,0 @@
1
- 3