@kya-os/create-molti 0.1.0-canary.1 → 0.1.0-canary.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.
@@ -2,6 +2,10 @@
2
2
  * GitHub Actions Workflow Template
3
3
  *
4
4
  * Generates the deploy.yml for CI/CD to Cloudflare.
5
+ * Only required secrets are uploaded in the deploy step.
6
+ * Optional AI provider keys (ANTHROPIC_API_KEY / OPENAI_API_KEY) are
7
+ * included but commented out — uncomment once you've added them as
8
+ * GitHub Secrets to avoid "Value not found in environment" errors.
5
9
  */
6
10
  export declare function generateDeployWorkflow(): string;
7
11
  //# sourceMappingURL=github-workflow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"github-workflow.d.ts","sourceRoot":"","sources":["../../src/templates/github-workflow.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,sBAAsB,IAAI,MAAM,CAyC/C"}
1
+ {"version":3,"file":"github-workflow.d.ts","sourceRoot":"","sources":["../../src/templates/github-workflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wBAAgB,sBAAsB,IAAI,MAAM,CA+C/C"}
@@ -2,6 +2,10 @@
2
2
  * GitHub Actions Workflow Template
3
3
  *
4
4
  * Generates the deploy.yml for CI/CD to Cloudflare.
5
+ * Only required secrets are uploaded in the deploy step.
6
+ * Optional AI provider keys (ANTHROPIC_API_KEY / OPENAI_API_KEY) are
7
+ * included but commented out — uncomment once you've added them as
8
+ * GitHub Secrets to avoid "Value not found in environment" errors.
5
9
  */
6
10
  export function generateDeployWorkflow() {
7
11
  return `name: Deploy to Cloudflare
@@ -35,6 +39,10 @@ jobs:
35
39
  uses: cloudflare/wrangler-action@v3
36
40
  with:
37
41
  apiToken: \${{ secrets.CLOUDFLARE_API_TOKEN }}
42
+ # Secrets listed here are uploaded as Wrangler secrets.
43
+ # IMPORTANT: Every secret listed MUST exist in your GitHub
44
+ # repository's Settings > Secrets. Remove or comment out
45
+ # any line for a secret you haven't added yet.
38
46
  secrets: |
39
47
  MCP_IDENTITY_PRIVATE_KEY
40
48
  AGENTSHIELD_API_KEY
@@ -43,6 +51,8 @@ jobs:
43
51
  MCP_IDENTITY_PRIVATE_KEY: \${{ secrets.MCP_IDENTITY_PRIVATE_KEY }}
44
52
  AGENTSHIELD_API_KEY: \${{ secrets.AGENTSHIELD_API_KEY }}
45
53
  ANTHROPIC_API_KEY: \${{ secrets.ANTHROPIC_API_KEY }}
54
+ # Uncomment the provider you use (at least one is required):
55
+ # OPENAI_API_KEY: \${{ secrets.OPENAI_API_KEY }}
46
56
  `;
47
57
  }
48
58
  //# sourceMappingURL=github-workflow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"github-workflow.js","sourceRoot":"","sources":["../../src/templates/github-workflow.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCR,CAAC;AACF,CAAC"}
1
+ {"version":3,"file":"github-workflow.js","sourceRoot":"","sources":["../../src/templates/github-workflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,UAAU,sBAAsB;IACpC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CR,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-molti",
3
- "version": "0.1.0-canary.1",
3
+ "version": "0.1.0-canary.2",
4
4
  "description": "Scaffold a Moltworker project with MCP-I identity",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -2,6 +2,10 @@
2
2
  * GitHub Actions Workflow Template
3
3
  *
4
4
  * Generates the deploy.yml for CI/CD to Cloudflare.
5
+ * Only required secrets are uploaded in the deploy step.
6
+ * Optional AI provider keys (ANTHROPIC_API_KEY / OPENAI_API_KEY) are
7
+ * included but commented out — uncomment once you've added them as
8
+ * GitHub Secrets to avoid "Value not found in environment" errors.
5
9
  */
6
10
 
7
11
  export function generateDeployWorkflow(): string {
@@ -36,6 +40,10 @@ jobs:
36
40
  uses: cloudflare/wrangler-action@v3
37
41
  with:
38
42
  apiToken: \${{ secrets.CLOUDFLARE_API_TOKEN }}
43
+ # Secrets listed here are uploaded as Wrangler secrets.
44
+ # IMPORTANT: Every secret listed MUST exist in your GitHub
45
+ # repository's Settings > Secrets. Remove or comment out
46
+ # any line for a secret you haven't added yet.
39
47
  secrets: |
40
48
  MCP_IDENTITY_PRIVATE_KEY
41
49
  AGENTSHIELD_API_KEY
@@ -44,5 +52,7 @@ jobs:
44
52
  MCP_IDENTITY_PRIVATE_KEY: \${{ secrets.MCP_IDENTITY_PRIVATE_KEY }}
45
53
  AGENTSHIELD_API_KEY: \${{ secrets.AGENTSHIELD_API_KEY }}
46
54
  ANTHROPIC_API_KEY: \${{ secrets.ANTHROPIC_API_KEY }}
55
+ # Uncomment the provider you use (at least one is required):
56
+ # OPENAI_API_KEY: \${{ secrets.OPENAI_API_KEY }}
47
57
  `;
48
58
  }