@powerformer/refly-cli 0.1.6 → 0.1.7
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/bin/refly.js +256 -10
- package/dist/bin/refly.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +3 -12
- package/skill/SKILL.md +2 -2
- package/skill/references/node.md +18 -1
- package/skill/references/workflow.md +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -51,13 +51,13 @@ declare const WorkflowDraftSchema: z.ZodObject<{
|
|
|
51
51
|
owner?: string | undefined;
|
|
52
52
|
}>>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
name: string;
|
|
55
54
|
nodes: {
|
|
56
55
|
id: string;
|
|
57
56
|
type: string;
|
|
58
57
|
dependsOn: string[];
|
|
59
58
|
input: Record<string, unknown>;
|
|
60
59
|
}[];
|
|
60
|
+
name: string;
|
|
61
61
|
description?: string | undefined;
|
|
62
62
|
metadata?: {
|
|
63
63
|
tags?: string[] | undefined;
|
|
@@ -158,13 +158,13 @@ declare const BuilderSessionSchema: z.ZodObject<{
|
|
|
158
158
|
owner?: string | undefined;
|
|
159
159
|
}>>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
name: string;
|
|
162
161
|
nodes: {
|
|
163
162
|
id: string;
|
|
164
163
|
type: string;
|
|
165
164
|
dependsOn: string[];
|
|
166
165
|
input: Record<string, unknown>;
|
|
167
166
|
}[];
|
|
167
|
+
name: string;
|
|
168
168
|
description?: string | undefined;
|
|
169
169
|
metadata?: {
|
|
170
170
|
tags?: string[] | undefined;
|
|
@@ -245,13 +245,13 @@ declare const BuilderSessionSchema: z.ZodObject<{
|
|
|
245
245
|
};
|
|
246
246
|
state: "IDLE" | "DRAFT" | "VALIDATED" | "COMMITTED" | "ABORTED";
|
|
247
247
|
workflowDraft: {
|
|
248
|
-
name: string;
|
|
249
248
|
nodes: {
|
|
250
249
|
id: string;
|
|
251
250
|
type: string;
|
|
252
251
|
dependsOn: string[];
|
|
253
252
|
input: Record<string, unknown>;
|
|
254
253
|
}[];
|
|
254
|
+
name: string;
|
|
255
255
|
description?: string | undefined;
|
|
256
256
|
metadata?: {
|
|
257
257
|
tags?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerformer/refly-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Refly CLI - Command-line interface for Refly workflow orchestration",
|
|
5
5
|
"bin": {
|
|
6
6
|
"refly": "./dist/bin/refly.js"
|
|
@@ -18,12 +18,7 @@
|
|
|
18
18
|
"test": "vitest run",
|
|
19
19
|
"prepublishOnly": "pnpm run build"
|
|
20
20
|
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"refly",
|
|
23
|
-
"cli",
|
|
24
|
-
"workflow",
|
|
25
|
-
"automation"
|
|
26
|
-
],
|
|
21
|
+
"keywords": ["refly", "cli", "workflow", "automation"],
|
|
27
22
|
"author": "Refly AI",
|
|
28
23
|
"license": "MIT",
|
|
29
24
|
"dependencies": {
|
|
@@ -41,9 +36,5 @@
|
|
|
41
36
|
"engines": {
|
|
42
37
|
"node": ">=18.0.0"
|
|
43
38
|
},
|
|
44
|
-
"files": [
|
|
45
|
-
"dist",
|
|
46
|
-
"skill",
|
|
47
|
-
"commands"
|
|
48
|
-
]
|
|
39
|
+
"files": ["dist", "skill", "commands"]
|
|
49
40
|
}
|
package/skill/SKILL.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: refly
|
|
2
|
+
name: refly
|
|
3
3
|
description: |
|
|
4
4
|
Base skill for Refly ecosystem: creates, discovers, and runs domain-specific skills bound to workflows.
|
|
5
5
|
Routes user intent to matching domain skills via local registry, delegates execution to Refly backend.
|
|
@@ -8,7 +8,7 @@ description: |
|
|
|
8
8
|
Requires: @refly/cli installed and authenticated.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Refly
|
|
11
|
+
# Refly
|
|
12
12
|
|
|
13
13
|
## Rules
|
|
14
14
|
|
package/skill/references/node.md
CHANGED
|
@@ -9,6 +9,22 @@ refly node result <resultId>
|
|
|
9
9
|
refly node result <resultId> --include-tool-calls
|
|
10
10
|
refly node result <resultId> --include-steps
|
|
11
11
|
refly node result <resultId> --include-messages
|
|
12
|
+
refly node abort <resultId>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## List Nodes in Workflow
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
refly workflow nodes <workflowId>
|
|
19
|
+
refly workflow nodes <workflowId> --include-edges
|
|
20
|
+
refly workflow nodes <workflowId> --include-metadata
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Get Single Node Information
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
refly workflow node <workflowId> <nodeId>
|
|
27
|
+
refly workflow node <workflowId> <nodeId> --include-connections
|
|
12
28
|
```
|
|
13
29
|
|
|
14
30
|
## Interaction
|
|
@@ -38,7 +54,8 @@ refly tool get <callId>
|
|
|
38
54
|
|
|
39
55
|
- GET /v1/cli/node/types list node types
|
|
40
56
|
- POST /v1/cli/node/run run a single node (not implemented yet)
|
|
41
|
-
- GET /v1/cli/
|
|
57
|
+
- GET /v1/cli/action/result?resultId=<id> get node execution result
|
|
58
|
+
- POST /v1/cli/action/abort abort node execution
|
|
42
59
|
|
|
43
60
|
## Backend API (Tool)
|
|
44
61
|
|
|
@@ -7,6 +7,9 @@ refly workflow create --name "<name>" --spec '<json>'
|
|
|
7
7
|
refly workflow generate --query "<natural language description>"
|
|
8
8
|
refly workflow edit <workflowId> --ops '<json>'
|
|
9
9
|
refly workflow get <workflowId>
|
|
10
|
+
woshrefly workflow nodes <workflowId>
|
|
11
|
+
refly workflow nodes <workflowId> --include-edges
|
|
12
|
+
refly workflow nodes <workflowId> --include-metadata
|
|
10
13
|
refly workflow list
|
|
11
14
|
refly workflow delete <workflowId>
|
|
12
15
|
refly workflow run <workflowId> --input '<json>'
|