@tomflow/proflow-platform-cli 0.1.29 → 0.1.31
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/CHANGELOG.md +12 -0
- package/dist/deployment/adapter.d.ts +7 -7
- package/dist/deployment/descriptor.d.ts +1 -1
- package/dist/deployment/descriptor.js +1 -1
- package/dist/src/cli.js +11 -11
- package/dist/src/terminal.js +1 -1
- package/package.json +3 -3
- package/proflow.module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tomflow/proflow-platform-cli
|
|
2
2
|
|
|
3
|
+
## 0.1.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Make every setup command directly runnable from a workspace and render setup failures without Node stack traces.
|
|
8
|
+
|
|
9
|
+
## 0.1.30
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Use a stable progress marker in non-interactive logs instead of a frozen spinner frame.
|
|
14
|
+
|
|
3
15
|
## 0.1.29
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
|
|
|
6
6
|
readonly ok: true;
|
|
7
7
|
readonly status: "SUCCEEDED";
|
|
8
8
|
readonly moduleRef: "platform-cli";
|
|
9
|
-
readonly moduleVersion: "0.1.
|
|
9
|
+
readonly moduleVersion: "0.1.31";
|
|
10
10
|
};
|
|
11
11
|
observedEffects: never[];
|
|
12
12
|
}>;
|
|
@@ -16,7 +16,7 @@ export declare const behaviorAdapter: {
|
|
|
16
16
|
readonly ok: true;
|
|
17
17
|
readonly status: "SUCCEEDED";
|
|
18
18
|
readonly moduleRef: "platform-cli";
|
|
19
|
-
readonly moduleVersion: "0.1.
|
|
19
|
+
readonly moduleVersion: "0.1.31";
|
|
20
20
|
};
|
|
21
21
|
observedEffects: never[];
|
|
22
22
|
}>;
|
|
@@ -26,7 +26,7 @@ export declare const behaviorAdapter: {
|
|
|
26
26
|
ok: true;
|
|
27
27
|
status: "SUCCEEDED";
|
|
28
28
|
moduleRef: "platform-cli";
|
|
29
|
-
moduleVersion: "0.1.
|
|
29
|
+
moduleVersion: "0.1.31";
|
|
30
30
|
data: {
|
|
31
31
|
readonly setupStatus: "READY";
|
|
32
32
|
readonly runtimeStatus: "NOT_APPLICABLE";
|
|
@@ -40,7 +40,7 @@ export declare const behaviorAdapter: {
|
|
|
40
40
|
readonly ok: true;
|
|
41
41
|
readonly status: "SUCCEEDED";
|
|
42
42
|
readonly moduleRef: "platform-cli";
|
|
43
|
-
readonly moduleVersion: "0.1.
|
|
43
|
+
readonly moduleVersion: "0.1.31";
|
|
44
44
|
};
|
|
45
45
|
observedEffects: never[];
|
|
46
46
|
}>;
|
|
@@ -50,7 +50,7 @@ export declare const behaviorAdapter: {
|
|
|
50
50
|
ok: true;
|
|
51
51
|
status: "SUCCEEDED";
|
|
52
52
|
moduleRef: "platform-cli";
|
|
53
|
-
moduleVersion: "0.1.
|
|
53
|
+
moduleVersion: "0.1.31";
|
|
54
54
|
data: {
|
|
55
55
|
docs: string;
|
|
56
56
|
};
|
|
@@ -63,7 +63,7 @@ export declare const behaviorAdapter: {
|
|
|
63
63
|
readonly ok: true;
|
|
64
64
|
readonly status: "SUCCEEDED";
|
|
65
65
|
readonly moduleRef: "platform-cli";
|
|
66
|
-
readonly moduleVersion: "0.1.
|
|
66
|
+
readonly moduleVersion: "0.1.31";
|
|
67
67
|
};
|
|
68
68
|
observedEffects: never[];
|
|
69
69
|
}>;
|
|
@@ -73,7 +73,7 @@ export declare const behaviorAdapter: {
|
|
|
73
73
|
readonly ok: true;
|
|
74
74
|
readonly status: "SUCCEEDED";
|
|
75
75
|
readonly moduleRef: "platform-cli";
|
|
76
|
-
readonly moduleVersion: "0.1.
|
|
76
|
+
readonly moduleVersion: "0.1.31";
|
|
77
77
|
};
|
|
78
78
|
observedEffects: never[];
|
|
79
79
|
}>;
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "platform-cli";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-platform-cli";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.31";
|
|
7
7
|
readonly kind: "cli";
|
|
8
8
|
readonly templateVersion: "1.0.0";
|
|
9
9
|
readonly platformCompatibility: ">=1.0.0 <2.0.0";
|
|
@@ -3,7 +3,7 @@ export const descriptor = {
|
|
|
3
3
|
contractVersion: "1.0.0",
|
|
4
4
|
moduleRef: "platform-cli",
|
|
5
5
|
packageName: "@tomflow/proflow-platform-cli",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.31",
|
|
7
7
|
kind: "cli",
|
|
8
8
|
templateVersion: "1.0.0",
|
|
9
9
|
platformCompatibility: ">=1.0.0 <2.0.0",
|
package/dist/src/cli.js
CHANGED
|
@@ -523,35 +523,35 @@ function renderDocs(data) {
|
|
|
523
523
|
}
|
|
524
524
|
const setupCommands = {
|
|
525
525
|
"chatgpt-carrier": {
|
|
526
|
-
ai: "proflow-chatgpt-carrier setup --carrier-url <url>",
|
|
526
|
+
ai: "pnpm exec -- proflow-chatgpt-carrier setup --carrier-url <url>",
|
|
527
527
|
inputs: "Custom GPT URL",
|
|
528
528
|
},
|
|
529
529
|
"dev-tunnel": {
|
|
530
|
-
ai: "proflow-dev-tunnel setup --tunnel-id <id> --public-base-url <url>",
|
|
530
|
+
ai: "pnpm exec -- proflow-dev-tunnel setup --tunnel-id <id> --public-base-url <url>",
|
|
531
531
|
inputs: "Tunnel ID、公开 HTTPS URL",
|
|
532
532
|
},
|
|
533
533
|
"model-provider-api": {
|
|
534
|
-
ai: "proflow-model-provider-api setup --provider-base-url <url>",
|
|
534
|
+
ai: "pnpm exec -- proflow-model-provider-api setup --provider-base-url <url>",
|
|
535
535
|
inputs: "模型服务 Base URL",
|
|
536
536
|
},
|
|
537
537
|
"model-runtime": {
|
|
538
|
-
ai: "proflow-model-runtime setup --fast-model <id> --reason-model <id>",
|
|
538
|
+
ai: "pnpm exec -- proflow-model-runtime setup --fast-model <id> --reason-model <id>",
|
|
539
539
|
inputs: "FAST 模型 ID、REASON 模型 ID",
|
|
540
540
|
},
|
|
541
541
|
"execution-browser-extension": {
|
|
542
|
-
ai: "proflow-execution-browser-extension setup --extension-id <id>",
|
|
542
|
+
ai: "pnpm exec -- proflow-execution-browser-extension setup --extension-id <id>",
|
|
543
543
|
inputs: "Chrome Extension ID",
|
|
544
544
|
},
|
|
545
545
|
"agent-controller-dev": {
|
|
546
|
-
ai: "proflow-agent-controller-dev setup --carrier-url <url>",
|
|
546
|
+
ai: "pnpm exec -- proflow-agent-controller-dev setup --carrier-url <url>",
|
|
547
547
|
inputs: "Custom GPT URL",
|
|
548
548
|
},
|
|
549
549
|
"agent-product": {
|
|
550
|
-
ai: "proflow-agent-product setup --carrier-url <url>",
|
|
550
|
+
ai: "pnpm exec -- proflow-agent-product setup --carrier-url <url>",
|
|
551
551
|
inputs: "Custom GPT URL",
|
|
552
552
|
},
|
|
553
553
|
"agent-test-ops": {
|
|
554
|
-
ai: "proflow-agent-test-ops setup --carrier-url <url>",
|
|
554
|
+
ai: "pnpm exec -- proflow-agent-test-ops setup --carrier-url <url>",
|
|
555
555
|
inputs: "Custom GPT URL",
|
|
556
556
|
},
|
|
557
557
|
};
|
|
@@ -600,7 +600,7 @@ function renderSetup(data) {
|
|
|
600
600
|
ai: `proflow-${moduleRef} setup`,
|
|
601
601
|
inputs: "按命令提示提供",
|
|
602
602
|
};
|
|
603
|
-
lines.push(` 人工执行:proflow-${moduleRef} setup`);
|
|
603
|
+
lines.push(` 人工执行:pnpm exec -- proflow-${moduleRef} setup`);
|
|
604
604
|
lines.push(` AI 执行:${commands.ai}`);
|
|
605
605
|
lines.push(` 需要输入:${commands.inputs}`);
|
|
606
606
|
lines.push(` 验证:proflow-${moduleRef} verify`);
|
|
@@ -656,8 +656,8 @@ export function renderHumanResult(result) {
|
|
|
656
656
|
"",
|
|
657
657
|
"常用参数:--workspace <路径>;setup 还支持 --module <模块名>",
|
|
658
658
|
"推荐流程:install → status → docs → setup → start → status → stop",
|
|
659
|
-
"人工配置示例:proflow-chatgpt-carrier setup",
|
|
660
|
-
"AI 配置示例:proflow-chatgpt-carrier setup --carrier-url <url>",
|
|
659
|
+
"人工配置示例:pnpm exec -- proflow-chatgpt-carrier setup",
|
|
660
|
+
"AI 配置示例:pnpm exec -- proflow-chatgpt-carrier setup --carrier-url <url>",
|
|
661
661
|
"状态图例:已就绪=配置完成;需要操作=需运行 setup;失败=存在系统阻塞;无独立进程=无需启动",
|
|
662
662
|
].join("\n");
|
|
663
663
|
if (result.command === "version" && isRecord(result.data))
|
package/dist/src/terminal.js
CHANGED
|
@@ -59,7 +59,7 @@ export function createTerminalProgressReporter(stream = process.stderr) {
|
|
|
59
59
|
const reporter = ((event) => {
|
|
60
60
|
clearSpinner();
|
|
61
61
|
active = event.status === "STARTED" ? event : undefined;
|
|
62
|
-
const line = progressLine(event, color, spinnerFrames[frame++ % spinnerFrames.length]);
|
|
62
|
+
const line = progressLine(event, color, interactive ? spinnerFrames[frame++ % spinnerFrames.length] : "›");
|
|
63
63
|
if (!interactive) {
|
|
64
64
|
stream.write(`${line}\n`);
|
|
65
65
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomflow/proflow-platform-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@tomflow/proflow-module-contract": "^0.1.10"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@tomflow/proflow-
|
|
31
|
-
"@tomflow/proflow-
|
|
30
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.8",
|
|
31
|
+
"@tomflow/proflow-module-template": "^0.1.8"
|
|
32
32
|
},
|
|
33
33
|
"description": "Thin Platform CLI for Module discovery, documentation, package synchronization and lifecycle orchestration.",
|
|
34
34
|
"keywords": [
|
package/proflow.module.json
CHANGED