@tomflow/proflow-platform-cli 0.1.39 → 0.1.40
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 +6 -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/registry/npm-registry.d.ts +2 -0
- package/dist/src/registry/npm-registry.js +6 -2
- package/package.json +3 -3
- package/proflow.module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40";
|
|
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.40",
|
|
7
7
|
kind: "cli",
|
|
8
8
|
templateVersion: "1.0.0",
|
|
9
9
|
platformCompatibility: ">=1.0.0 <2.0.0",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const PRO_FLOW_SCOPE = "@tomflow";
|
|
2
2
|
export declare const PRO_FLOW_PACKAGE_PREFIX = "@tomflow/proflow-";
|
|
3
3
|
export declare const RETIRED_PRO_FLOW_PACKAGES: Set<string>;
|
|
4
|
+
export declare const PRO_FLOW_TOOL_PACKAGES: Set<string>;
|
|
4
5
|
export interface NpmCommandResult {
|
|
5
6
|
stdout: string;
|
|
6
7
|
stderr: string;
|
|
@@ -28,6 +29,7 @@ export interface RegistryDiscoveryResult {
|
|
|
28
29
|
candidates: RegistryModuleCandidate[];
|
|
29
30
|
rejected: RegistryRejectedPackage[];
|
|
30
31
|
retired: string[];
|
|
32
|
+
tools: string[];
|
|
31
33
|
}
|
|
32
34
|
export declare function systemNpmRunner(): NpmCommandRunner;
|
|
33
35
|
export declare function resolveScopeRegistry(workspaceRoot: string, runner?: NpmCommandRunner): Promise<string>;
|
|
@@ -9,6 +9,9 @@ export const PRO_FLOW_PACKAGE_PREFIX = "@tomflow/proflow-";
|
|
|
9
9
|
export const RETIRED_PRO_FLOW_PACKAGES = new Set([
|
|
10
10
|
"@tomflow/proflow-chatgpt-carrier",
|
|
11
11
|
]);
|
|
12
|
+
export const PRO_FLOW_TOOL_PACKAGES = new Set([
|
|
13
|
+
"@tomflow/proflow-devtunnel-cli",
|
|
14
|
+
]);
|
|
12
15
|
export function systemNpmRunner() {
|
|
13
16
|
return {
|
|
14
17
|
async run(args, cwd, timeoutMs) {
|
|
@@ -46,7 +49,8 @@ export async function discoverRegistryModules(options) {
|
|
|
46
49
|
? await searchPackageNames(options.workspaceRoot, registry, runner)
|
|
47
50
|
: [validateRequestedPackageName(options.packageName)];
|
|
48
51
|
const retired = names.filter((name) => RETIRED_PRO_FLOW_PACKAGES.has(name));
|
|
49
|
-
const
|
|
52
|
+
const tools = names.filter((name) => PRO_FLOW_TOOL_PACKAGES.has(name));
|
|
53
|
+
const activeNames = names.filter((name) => !RETIRED_PRO_FLOW_PACKAGES.has(name) && !PRO_FLOW_TOOL_PACKAGES.has(name));
|
|
50
54
|
options.onSearchComplete?.(activeNames.length);
|
|
51
55
|
const candidates = [];
|
|
52
56
|
const rejected = [];
|
|
@@ -75,7 +79,7 @@ export async function discoverRegistryModules(options) {
|
|
|
75
79
|
await Promise.all(Array.from({ length: Math.min(4, activeNames.length) }, () => worker()));
|
|
76
80
|
candidates.sort((left, right) => left.packageName.localeCompare(right.packageName));
|
|
77
81
|
rejected.sort((left, right) => left.packageName.localeCompare(right.packageName));
|
|
78
|
-
return { registry, candidates, rejected, retired };
|
|
82
|
+
return { registry, candidates, rejected, retired, tools };
|
|
79
83
|
}
|
|
80
84
|
async function searchPackageNames(workspaceRoot, registry, runner) {
|
|
81
85
|
const result = await runner.run([
|
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.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@tomflow/proflow-module-contract": "^0.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tomflow/proflow-
|
|
32
|
-
"@tomflow/proflow-
|
|
31
|
+
"@tomflow/proflow-module-template": "^0.1.10",
|
|
32
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.13"
|
|
33
33
|
},
|
|
34
34
|
"description": "Thin Platform CLI for Module discovery, documentation, package synchronization and lifecycle orchestration.",
|
|
35
35
|
"keywords": [
|
package/proflow.module.json
CHANGED