@lukoweb/apitogo 0.1.110 → 0.1.111

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/cli/cli.js CHANGED
@@ -5801,7 +5801,7 @@ import {
5801
5801
  // package.json
5802
5802
  var package_default = {
5803
5803
  name: "@lukoweb/apitogo",
5804
- version: "0.1.110",
5804
+ version: "0.1.111",
5805
5805
  type: "module",
5806
5806
  sideEffects: [
5807
5807
  "**/*.css",
@@ -11959,8 +11959,6 @@ function applyScaffoldManifestPolicy(manifest, options) {
11959
11959
  if (options.includeDefaultPlans) {
11960
11960
  result.plans = mergePlansBySku2(result.plans, DEFAULT_PLANS);
11961
11961
  result.pricing = { enabled: true };
11962
- } else {
11963
- delete result.plans;
11964
11962
  }
11965
11963
  return result;
11966
11964
  }
@@ -14341,7 +14339,7 @@ function buildCreateApitogoCliArgs(invocationArgs, projectName, options) {
14341
14339
  "--skip-install",
14342
14340
  "--use-npm"
14343
14341
  ];
14344
- if (options?.withExamples) {
14342
+ if (options?.withExamples !== false) {
14345
14343
  cliArgs.push("--include-examples");
14346
14344
  }
14347
14345
  return cliArgs;
@@ -110,7 +110,7 @@ export declare const SCAFFOLD_OPENAPI_MISSING_NEXT_STEP: DevPortalSuggestedNextS
110
110
  export declare const SCAFFOLD_SUGGESTED_NEXT_STEPS: DevPortalSuggestedNextStep[];
111
111
  export declare function buildScaffoldJourneyPhases(steps?: DevPortalSuggestedNextStep[]): DevPortalJourneyPhase[];
112
112
  export declare const SCAFFOLD_JOURNEY_PHASES: DevPortalJourneyPhase[];
113
- export declare const SCAFFOLD_AGENT_INSTRUCTION = "Scaffold only \u2014 dependencies are installed but the dev server is not started. Tell the user the site is ready and to run npm run dev in outputDirectory. The home page lives in landing/LandingPage.tsx (starter hero + features). After npm run dev, ask if they want to customize the home page. When they do, always ask for their real content first (what the API does, key endpoints, audience, tone, desired sections) before editing \u2014 never invent placeholder copy unless they explicitly ask for placeholders \u2014 then edit that TSX file directly or call get_dev_portal_landing_guide for the component catalog. Do not write home page content to apitogo.config.json. Then ask what else they want (OpenAPI, plans, bootstrap API ToGo, or go live). Do not mention missing plans, null projectId, skipped bootstrap, publishPrerequisites, or other absent setup unless the user asks about publish or platform provisioning. One user intent \u2192 one MCP tool. When preview is running, shape-phase file edits hot-reload. Never pass restartPreview: true on update_dev_portal_manifest or set_dev_portal_theme (ignored; used to time out against npm run dev). For publish, the user saves OIDC (+ Stripe if paid) in .env using APITOGO_CONFIG_AUTHENTICATION__* keys \u2014 never collect secrets in chat. Call check_dev_portal_publish_readiness after they confirm, then publish_dev_portal. Do not call sync_gateway_plans_from_manifest before publish.";
113
+ export declare const SCAFFOLD_AGENT_INSTRUCTION = "Scaffold only \u2014 dependencies are installed but the dev server is not started. Tell the user the site is ready and to run npm run dev in outputDirectory. The home page lives in landing/LandingPage.tsx (default sample sections including plans). After npm run dev, ask if they want to customize the home page. When they do, always ask for their real content first (what the API does, key endpoints, audience, tone, desired sections) before editing \u2014 never invent placeholder copy unless they explicitly ask for placeholders \u2014 then edit that TSX file directly or call get_dev_portal_landing_guide for the component catalog. Do not write home page content to apitogo.config.json. Then ask what else they want (OpenAPI, plans, bootstrap API ToGo, or go live). Do not mention missing plans, null projectId, skipped bootstrap, publishPrerequisites, or other absent setup unless the user asks about publish or platform provisioning. One user intent \u2192 one MCP tool. When preview is running, shape-phase file edits hot-reload. Never pass restartPreview: true on update_dev_portal_manifest or set_dev_portal_theme (ignored; used to time out against npm run dev). For publish, the user saves OIDC (+ Stripe if paid) in .env using APITOGO_CONFIG_AUTHENTICATION__* keys \u2014 never collect secrets in chat. Call check_dev_portal_publish_readiness after they confirm, then publish_dev_portal. Do not call sync_gateway_plans_from_manifest before publish.";
114
114
  export declare function manifestRequiresStripe(plans: ManifestPlanInput[] | undefined): boolean;
115
115
  export declare function isNativeAuthEnabledInManifest(manifest: DevPortalLocalManifest): boolean;
116
116
  export declare function readManifestAuthProviders(manifest: DevPortalLocalManifest): NonNullable<DevPortalLocalManifest["authentication"]>["providers"];
package/docs/mcp/shape.md CHANGED
@@ -27,7 +27,7 @@ chat.
27
27
 
28
28
  ## Scaffold only
29
29
 
30
- If you only want an empty site:
30
+ If you only want a local site:
31
31
 
32
32
  > Create a dev portal in `./dev-portal-site`.
33
33
 
@@ -39,8 +39,8 @@ Build an API product (developer portal, plans, gateway, backend) with an AI agen
39
39
  > Create a portal in `./dev-portal` for my API in `./api` with Free (100/min) and Pro (1000/min);
40
40
  > make `/health` public.
41
41
 
42
- The agent should call `apply_product_intent` with `mode: "shape"` (or `create_dev_portal` for an
43
- empty scaffold). See [Shape](./mcp/shape.md).
42
+ The agent should call `apply_product_intent` with `mode: "shape"` (or `create_dev_portal` for a
43
+ default scaffold). See [Shape](./mcp/shape.md).
44
44
 
45
45
  1. **Preview locally**
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/apitogo",
3
- "version": "0.1.110",
3
+ "version": "0.1.111",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",