saasfunnels 0.5.1 → 0.5.2
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/README.md +3 -3
- package/dist/library.js +3 -3
- package/dist/saasfunnels.js +5 -5
- package/dist/types/identity.d.ts +2 -2
- package/dist/types/mcp.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ approved set is reviewable.
|
|
|
48
48
|
### GitHub Action
|
|
49
49
|
|
|
50
50
|
```yaml
|
|
51
|
-
- uses: LeadEngine-ai/saasfunnels-cli/action@v0.2
|
|
51
|
+
- uses: LeadEngine-ai/saasfunnels-cli/action@v0.5.2
|
|
52
52
|
with:
|
|
53
53
|
api-key: ${{ secrets.SAASFUNNELS_API_KEY }}
|
|
54
54
|
cli-version: 0.2.1 # pin it; a floating version rebaselines drift
|
|
@@ -92,9 +92,9 @@ npm run release:verify
|
|
|
92
92
|
|
|
93
93
|
The package allowlist is enforced as `LICENSE`, `README.md`, `package.json`, the `saasfunnels` executable bundle, and the typed server-side library bundle/declarations.
|
|
94
94
|
|
|
95
|
-
Documentation: https://docs.saasfunnels.
|
|
95
|
+
Documentation: https://docs.saasfunnels.com/developer-tools/saasfunnels-cli
|
|
96
96
|
|
|
97
|
-
Support: support@saasfunnels.
|
|
97
|
+
Support: support@saasfunnels.com
|
|
98
98
|
|
|
99
99
|
### Guided application discovery
|
|
100
100
|
|
package/dist/library.js
CHANGED
|
@@ -233553,7 +233553,7 @@ You are adding SaaSFunnels Direct API events to this customer application. Treat
|
|
|
233553
233553
|
- Endpoint: \`${endpoint}\`
|
|
233554
233554
|
- Auth header: \`Authorization: Bearer ${ingestKeyPlaceholder}\`
|
|
233555
233555
|
- Environment variable: \`SAASFUNNELS_INGEST_API_KEY=${ingestKeyPlaceholder}\`
|
|
233556
|
-
- Help article: \`https://docs.saasfunnels.
|
|
233556
|
+
- Help article: \`https://docs.saasfunnels.com/integrations-and-sources/direct-api-installation\`
|
|
233557
233557
|
|
|
233558
233558
|
## Direct API-first event discovery
|
|
233559
233559
|
|
|
@@ -235858,9 +235858,9 @@ function validateFeatureCatalogManifest(value) {
|
|
|
235858
235858
|
|
|
235859
235859
|
// src/identity.ts
|
|
235860
235860
|
var SAASFUNNELS_CLI_NAME = "saasfunnels";
|
|
235861
|
-
var SAASFUNNELS_CLI_VERSION = "0.5.
|
|
235861
|
+
var SAASFUNNELS_CLI_VERSION = "0.5.2";
|
|
235862
235862
|
var SAASFUNNELS_PRODUCT_NAME = "SaaSFunnels";
|
|
235863
|
-
var SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.
|
|
235863
|
+
var SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.com";
|
|
235864
235864
|
var SAASFUNNELS_ENV = Object.freeze({
|
|
235865
235865
|
apiBaseUrl: ["SAASFUNNELS_API_BASE_URL", "PREVENUE_API_BASE_URL"],
|
|
235866
235866
|
apiKey: ["SAASFUNNELS_API_KEY", "PREVENUE_API_KEY"],
|
package/dist/saasfunnels.js
CHANGED
|
@@ -234048,9 +234048,9 @@ function extractSetupPatch(source, catalog, baseline) {
|
|
|
234048
234048
|
|
|
234049
234049
|
// src/identity.ts
|
|
234050
234050
|
var SAASFUNNELS_CLI_NAME = "saasfunnels";
|
|
234051
|
-
var SAASFUNNELS_CLI_VERSION = "0.5.
|
|
234051
|
+
var SAASFUNNELS_CLI_VERSION = "0.5.2";
|
|
234052
234052
|
var SAASFUNNELS_PRODUCT_NAME = "SaaSFunnels";
|
|
234053
|
-
var SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.
|
|
234053
|
+
var SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.com";
|
|
234054
234054
|
var SAASFUNNELS_ENV = Object.freeze({
|
|
234055
234055
|
apiBaseUrl: ["SAASFUNNELS_API_BASE_URL", "PREVENUE_API_BASE_URL"],
|
|
234056
234056
|
apiKey: ["SAASFUNNELS_API_KEY", "PREVENUE_API_KEY"],
|
|
@@ -234934,7 +234934,7 @@ You are adding SaaSFunnels Direct API events to this customer application. Treat
|
|
|
234934
234934
|
- Endpoint: \`${endpoint}\`
|
|
234935
234935
|
- Auth header: \`Authorization: Bearer ${ingestKeyPlaceholder}\`
|
|
234936
234936
|
- Environment variable: \`SAASFUNNELS_INGEST_API_KEY=${ingestKeyPlaceholder}\`
|
|
234937
|
-
- Help article: \`https://docs.saasfunnels.
|
|
234937
|
+
- Help article: \`https://docs.saasfunnels.com/integrations-and-sources/direct-api-installation\`
|
|
234938
234938
|
|
|
234939
234939
|
## Direct API-first event discovery
|
|
234940
234940
|
|
|
@@ -238733,7 +238733,7 @@ async function runGuidedSetup(options) {
|
|
|
238733
238733
|
}
|
|
238734
238734
|
return {
|
|
238735
238735
|
exitCode: 0,
|
|
238736
|
-
stdout: `Discovery submitted. ${selection === "rejected" ? "This submission was rejected in Setup. Current findings and decisions are retained." : selection === "superseded" ? "A newer submission is selected in Setup. Current findings and decisions are retained." : selection === "complete_candidate" ? "Existing findings and decisions are retained; review proposed removals or finish the pending publication in Setup." : "Corrections are ready for review; unrelated records and saved decisions are retained."} Open https://app.saasfunnels.
|
|
238736
|
+
stdout: `Discovery submitted. ${selection === "rejected" ? "This submission was rejected in Setup. Current findings and decisions are retained." : selection === "superseded" ? "A newer submission is selected in Setup. Current findings and decisions are retained." : selection === "complete_candidate" ? "Existing findings and decisions are retained; review proposed removals or finish the pending publication in Setup." : "Corrections are ready for review; unrelated records and saved decisions are retained."} Open https://app.saasfunnels.com/app/setup. Configuration has not been published.
|
|
238737
238737
|
`,
|
|
238738
238738
|
stderr: ""
|
|
238739
238739
|
};
|
|
@@ -241541,7 +241541,7 @@ async function runSaaSFunnelsCli(argv2, options = {}) {
|
|
|
241541
241541
|
return result(0, usage());
|
|
241542
241542
|
if (command === "init") return await commandInit(parsed.flags, options);
|
|
241543
241543
|
if (command === "setup") {
|
|
241544
|
-
const help = "SaaSFunnels setup\n\nRun npx --yes saasfunnels@latest setup in your app repository.\nIt checks access, asks before sending findings, and discovers features and plans for review.\nUse --resume after an interruption, or --env-file .env.local to load developer access.\nFor automation, supply SAASFUNNELS_API_KEY and explicit upload approval with --send --non-interactive.\nApp implementation, deployment and payment verification remain in https://app.saasfunnels.
|
|
241544
|
+
const help = "SaaSFunnels setup\n\nRun npx --yes saasfunnels@latest setup in your app repository.\nIt checks access, asks before sending findings, and discovers features and plans for review.\nUse --resume after an interruption, or --env-file .env.local to load developer access.\nFor automation, supply SAASFUNNELS_API_KEY and explicit upload approval with --send --non-interactive.\nApp implementation, deployment and payment verification remain in https://app.saasfunnels.com/app/setup.\n";
|
|
241545
241545
|
if (hasFlag(parsed.flags, "help") || args[0] === "help") return result(0, help);
|
|
241546
241546
|
if (args.length > 1 || args[0] && args[0] !== "run") return result(2, "", help);
|
|
241547
241547
|
const interactive = !jsonMode(parsed.flags) && !hasFlag(parsed.flags, "non-interactive");
|
package/dist/types/identity.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const SAASFUNNELS_CLI_NAME = "saasfunnels";
|
|
2
|
-
export declare const SAASFUNNELS_CLI_VERSION = "0.5.
|
|
2
|
+
export declare const SAASFUNNELS_CLI_VERSION = "0.5.2";
|
|
3
3
|
export declare const SAASFUNNELS_PRODUCT_NAME = "SaaSFunnels";
|
|
4
|
-
export declare const SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.
|
|
4
|
+
export declare const SAASFUNNELS_DEFAULT_API_BASE_URL = "https://app.saasfunnels.com";
|
|
5
5
|
export declare const SAASFUNNELS_ENV: Readonly<{
|
|
6
6
|
apiBaseUrl: string[];
|
|
7
7
|
apiKey: string[];
|
package/dist/types/mcp.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export type SaaSFunnelsMcpOptions = {
|
|
|
77
77
|
output?: Pick<NodeJS.WritableStream, "write">;
|
|
78
78
|
};
|
|
79
79
|
declare const mcpProtocolVersion = "2025-06-18";
|
|
80
|
-
declare const mcpServerVersion = "0.5.
|
|
80
|
+
declare const mcpServerVersion = "0.5.2";
|
|
81
81
|
export declare function saasFunnelsMcpResources(): McpResourceDefinition[];
|
|
82
82
|
export declare function readSaaSFunnelsMcpResource(uri: string, options?: SaaSFunnelsMcpOptions): string;
|
|
83
83
|
export declare function saasFunnelsMcpToolDefinitions({ allowFunnelTests, allowFunnelWrites, allowTestWrites, includeHostedAccountTools, }?: {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "saasfunnels",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "SaaSFunnels CLI and local stdio MCP server",
|
|
6
6
|
"author": "SaaSFunnels",
|
|
7
|
-
"homepage": "https://docs.saasfunnels.
|
|
7
|
+
"homepage": "https://docs.saasfunnels.com/developer-tools/saasfunnels-cli",
|
|
8
8
|
"bugs": {
|
|
9
|
-
"email": "support@saasfunnels.
|
|
9
|
+
"email": "support@saasfunnels.com",
|
|
10
10
|
"url": "https://github.com/LeadEngine-ai/saasfunnels-cli/issues"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|