@kya-os/create-mcpi-app 1.7.42-canary.35 → 1.7.42-canary.37
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/.turbo/turbo-build.log +1 -1
- package/dist/helpers/fetch-cloudflare-mcpi-template.d.ts +15 -6
- package/dist/helpers/fetch-cloudflare-mcpi-template.d.ts.map +1 -1
- package/dist/helpers/fetch-cloudflare-mcpi-template.js +238 -1174
- package/dist/helpers/fetch-cloudflare-mcpi-template.js.map +1 -1
- package/package.json +25 -67
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.7.42-canary.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.7.42-canary.37 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
3
3
|
> tsc && chmod +x dist/index.js
|
|
4
4
|
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
interface
|
|
2
|
-
packageManager
|
|
3
|
-
projectName
|
|
1
|
+
interface CloudflareTemplateOptions {
|
|
2
|
+
packageManager: string;
|
|
3
|
+
projectName: string;
|
|
4
4
|
apikey?: string;
|
|
5
5
|
projectId?: string;
|
|
6
6
|
skipIdentity?: boolean;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Fetches the Cloudflare MCP-I template
|
|
10
|
+
*
|
|
11
|
+
* Generates a robust project structure:
|
|
12
|
+
* - package.json
|
|
13
|
+
* - wrangler.toml (with public keys)
|
|
14
|
+
* - .dev.vars (with private keys)
|
|
15
|
+
* - src/index.ts
|
|
16
|
+
* - src/agent.ts
|
|
17
|
+
* - src/tools/greet.ts
|
|
18
|
+
* - src/mcpi-runtime-config.ts
|
|
19
|
+
* - scripts/setup.js (for key regeneration)
|
|
11
20
|
*/
|
|
12
|
-
export declare function fetchCloudflareMcpiTemplate(
|
|
21
|
+
export declare function fetchCloudflareMcpiTemplate(targetDir: string, options: CloudflareTemplateOptions | string): Promise<void>;
|
|
13
22
|
export {};
|
|
14
23
|
//# sourceMappingURL=fetch-cloudflare-mcpi-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-cloudflare-mcpi-template.d.ts","sourceRoot":"","sources":["../../src/helpers/fetch-cloudflare-mcpi-template.ts"],"names":[],"mappings":"AAKA,UAAU,
|
|
1
|
+
{"version":3,"file":"fetch-cloudflare-mcpi-template.d.ts","sourceRoot":"","sources":["../../src/helpers/fetch-cloudflare-mcpi-template.ts"],"names":[],"mappings":"AAKA,UAAU,yBAAyB;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,2BAA2B,CAC/C,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,yBAAyB,GAAG,MAAM,GAC1C,OAAO,CAAC,IAAI,CAAC,CA4Rf"}
|