@hexagen-monaco/sync 0.5.1 → 0.6.0
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.js +6327 -5529
- package/dist/cli.js.map +1 -1
- package/dist/commands/arch/context/persistence.d.ts +2 -1
- package/dist/commands/arch/context/persistence.d.ts.map +1 -1
- package/dist/commands/arch/context/wizard.d.ts +2 -1
- package/dist/commands/arch/context/wizard.d.ts.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/fs-utils.d.ts +13 -0
- package/dist/fs-utils.d.ts.map +1 -1
- package/dist/generators/apps-framework-templates.d.ts +2 -1
- package/dist/generators/apps-framework-templates.d.ts.map +1 -1
- package/dist/generators/apps.d.ts.map +1 -1
- package/dist/generators/architecture-files.d.ts.map +1 -1
- package/dist/generators/barrels/recursive.d.ts.map +1 -1
- package/dist/generators/cross-context.d.ts +5 -0
- package/dist/generators/cross-context.d.ts.map +1 -0
- package/dist/generators/eslint.d.ts +3 -1
- package/dist/generators/eslint.d.ts.map +1 -1
- package/dist/generators/layer-folders.d.ts.map +1 -1
- package/dist/generators/port-analyzer.d.ts +38 -4
- package/dist/generators/port-analyzer.d.ts.map +1 -1
- package/dist/generators/root-file-templates.d.ts +3 -3
- package/dist/generators/root-file-templates.d.ts.map +1 -1
- package/dist/generators/shared-kernel.d.ts +23 -0
- package/dist/generators/shared-kernel.d.ts.map +1 -0
- package/dist/generators/stubs.d.ts +13 -0
- package/dist/generators/stubs.d.ts.map +1 -1
- package/dist/index.js +5284 -4518
- package/dist/index.js.map +1 -1
- package/dist/scope-filter.d.ts +35 -0
- package/dist/scope-filter.d.ts.map +1 -0
- package/dist/sync-engine.d.ts.map +1 -1
- package/dist/templates/adobe-creative-production/manifest.json +2 -0
- package/dist/templates/adobe-express/manifest.json +2 -0
- package/dist/templates/adobe-firefly-composite/manifest.json +2 -0
- package/dist/templates/adobe-firefly-content-tagging/manifest.json +2 -0
- package/dist/templates/adobe-firefly-core/manifest.json +2 -0
- package/dist/templates/adobe-firefly-custom-models/manifest.json +2 -0
- package/dist/templates/adobe-firefly-generate/manifest.json +2 -0
- package/dist/templates/adobe-firefly-media/manifest.json +2 -0
- package/dist/templates/adobe-firefly-storage-azure/manifest.json +2 -0
- package/dist/templates/adobe-firefly-storage-gcs/manifest.json +2 -0
- package/dist/templates/adobe-firefly-storage-s3/manifest.json +2 -0
- package/dist/templates/adobe-firefly-upscale/manifest.json +2 -0
- package/dist/templates/adobe-illustrator/manifest.json +2 -0
- package/dist/templates/adobe-ims-spa/manifest.json +2 -0
- package/dist/templates/adobe-indesign/manifest.json +2 -0
- package/dist/templates/adobe-lightroom/manifest.json +2 -0
- package/dist/templates/adobe-photoshop/manifest.json +2 -0
- package/dist/templates/adobe-substance-3d/manifest.json +2 -0
- package/dist/templates/auth-mock/manifest.json +2 -0
- package/dist/templates/bedrock-agentcore-runtime/manifest.json +10 -2
- package/dist/templates/bedrock-agentcore-services/manifest.json +38 -9
- package/dist/templates/better-auth/manifest.json +2 -0
- package/dist/templates/bullmq/manifest.json +2 -0
- package/dist/templates/ci-github-actions/README.md +7 -0
- package/dist/templates/ci-github-actions/files/.github/dependabot.yml +16 -4
- package/dist/templates/ci-github-actions/files/.github/workflows/ci.yml +7 -3
- package/dist/templates/ci-github-actions/files/.github/workflows/preview.yml +20 -2
- package/dist/templates/ci-github-actions/manifest.json +26 -6
- package/dist/templates/clerk/manifest.json +2 -0
- package/dist/templates/design-system/manifest.json +14 -3
- package/dist/templates/docker/manifest.json +2 -0
- package/dist/templates/error-handling/manifest.json +2 -0
- package/dist/templates/eslint-no-console/manifest.json +2 -0
- package/dist/templates/github-oauth/manifest.json +2 -0
- package/dist/templates/google-oauth/manifest.json +2 -0
- package/dist/templates/langgraph/manifest.json +62 -15
- package/dist/templates/llm-adapter/manifest.json +2 -0
- package/dist/templates/magic-link/manifest.json +2 -0
- package/dist/templates/mcp-server/README.md +49 -0
- package/dist/templates/mcp-server/files/.env.mcp.example +6 -0
- package/dist/templates/mcp-server/files/.mcp.json.example +8 -0
- package/dist/templates/mcp-server/files/bin/cli.ts +15 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/prompts/example.prompt.ts +32 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/registry/register-all.ts +11 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/registry/tool-registry.test.ts +67 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/registry/tool-registry.ts +45 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/resources/example.resource.ts +28 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/sdk.ts +41 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/server.ts +52 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/tools/example.tool.test.ts +31 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/tools/example.tool.ts +74 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/transport/register-transports.ts +15 -0
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/transport/stdio.ts +14 -0
- package/dist/templates/mcp-server/manifest.json +68 -0
- package/dist/templates/mcp-server-http/README.md +98 -0
- package/dist/templates/mcp-server-http/files/.env.mcp-http.example +22 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/bearer.test.ts +54 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/bearer.ts +49 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/oauth.test.ts +50 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/oauth.ts +53 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/guard.test.ts +75 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/guard.ts +26 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/transport/http.ts +94 -0
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/transport/register-transports.ts +15 -0
- package/dist/templates/mcp-server-http/manifest.json +56 -0
- package/dist/templates/microsoft-entra/manifest.json +2 -0
- package/dist/templates/nextauth/manifest.json +2 -0
- package/dist/templates/observability/manifest.json +10 -2
- package/dist/templates/rate-limiting/manifest.json +2 -0
- package/dist/templates/shared-types/manifest.json +2 -0
- package/dist/templates/supabase/manifest.json +2 -0
- package/dist/templates/supabase-auth/manifest.json +2 -0
- package/dist/types/manifest/apps.d.ts +12 -1
- package/dist/types/manifest/apps.d.ts.map +1 -1
- package/dist/types/manifest/bounded-context.d.ts +1 -1
- package/dist/types/manifest/bounded-context.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scope filtering for `hexagen sync --only <pattern…>`.
|
|
3
|
+
*
|
|
4
|
+
* Conservative "direct targets only" semantics — a scope pattern limits which
|
|
5
|
+
* workspace-relative paths the engine is allowed to write, with **no dependency
|
|
6
|
+
* fan-out**. Regenerating one package does not pull in the packages that
|
|
7
|
+
* reference it; for cross-package changes, run a full sync. This keeps `--only`
|
|
8
|
+
* predictable: what you name is exactly what can be written.
|
|
9
|
+
*
|
|
10
|
+
* Pattern forms (a path is in scope if it matches ANY pattern):
|
|
11
|
+
*
|
|
12
|
+
* - **Plain path / directory prefix** (no glob metacharacters): matches the
|
|
13
|
+
* path itself and everything beneath it. `packages/shared` matches
|
|
14
|
+
* `packages/shared` and `packages/shared/src/index.ts`.
|
|
15
|
+
* - **Glob** (contains `*` or `?`): matched against the FULL relative path,
|
|
16
|
+
* anchored. `*` matches any run of non-separator characters, `**` matches
|
|
17
|
+
* any run including the `/` separator, and `?` matches a single
|
|
18
|
+
* non-separator character. A single `*` therefore stays within one path
|
|
19
|
+
* segment (so it matches a package's own `tsconfig.json` but not one nested
|
|
20
|
+
* under `src`), while a double-star reaches any depth (e.g. an `index.ts`
|
|
21
|
+
* anywhere beneath a package). See the unit tests for concrete cases.
|
|
22
|
+
*
|
|
23
|
+
* Intentionally dependency-free (no minimatch/picomatch) — the `sync` package
|
|
24
|
+
* keeps its runtime surface lean, and these semantics are a deliberately small
|
|
25
|
+
* subset rather than full POSIX globbing.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* True when `relativePath` falls within at least one of the `--only` scope
|
|
29
|
+
* patterns. An empty / undefined pattern list means "no scope filter" — callers
|
|
30
|
+
* should not invoke this when the user passed no `--only`, but it returns
|
|
31
|
+
* `false` for an empty list so a misuse fails closed rather than writing
|
|
32
|
+
* everything.
|
|
33
|
+
*/
|
|
34
|
+
export declare function matchesScope(relativePath: string, patterns: readonly string[]): boolean;
|
|
35
|
+
//# sourceMappingURL=scope-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scope-filter.d.ts","sourceRoot":"","sources":["../src/scope-filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AA0CH;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,SAAS,MAAM,EAAE,GAC1B,OAAO,CAWT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-engine.d.ts","sourceRoot":"","sources":["../src/sync-engine.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"sync-engine.d.ts","sourceRoot":"","sources":["../src/sync-engine.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAkBpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAkBpD,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAAyB;IACvC,OAAO,CAAC,aAAa,CAAY;IACjC,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,aAAa,CAAc;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAoB;gBAEjC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAKzD,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,SAAS;YAOH,iBAAiB;YAyCjB,qBAAqB;IAuF7B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAkO3B"}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Creative Production API",
|
|
4
4
|
"description": "Creative Production batch automation for Adobe Firefly Services (image.adobe.io): a CreativeProductionPort + adapter that maps a published workflow over N assets in one async batch job and surfaces per-asset status (partial success) over the adobe-firefly-core foundation. Async batch.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [],
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Express API",
|
|
4
4
|
"description": "Express batch automation for Adobe Firefly Services (image.adobe.io): an ExpressAutomationPort + adapter that renders many variants from a published Express template in one async batch job — the localization use case (translated copy + regional imagery per locale) over the adobe-firefly-core foundation. Async.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Composite",
|
|
4
4
|
"description": "Composite Operations service for Adobe Firefly: a CompositePort + adapter that blends a product image into a scene (matching tone/lighting/shadow) over the adobe-firefly-core foundation. Async; returns multiple candidate outputs (the port returns an array of hrefs).",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Content Tagging",
|
|
4
4
|
"description": "Content Tagging service for Adobe Firefly: a ContentTaggingPort + adapter that returns structured tags/metadata for an image (the one service whose result is JSON, not an asset — exercises the foundation's non-asset path). Sync or short async; presigns the input only.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly Services — Core",
|
|
4
4
|
"description": "Shared foundation for Adobe Firefly Services: IMS OAuth Server-to-Server token provider (cached), a base REST client (x-api-key + bearer, retry, timeout), the async job port (polling or webhook), a presigned-URL storage seam (passthrough default), and Adobe error classification. Service addons require this and add one port + adapter each.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["env-setup", "error-handling"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Custom Models",
|
|
4
4
|
"description": "Custom Models (training + inference) for Adobe Firefly Services (firefly-api.adobe.io): a CustomModelPort + adapter to train a brand-tuned model from a curated dataset, check status, list models, and generate with a trained model, over the adobe-firefly-core foundation. Async, long-running, webhook-friendly via FireflyJobPort.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Generate",
|
|
4
4
|
"description": "Firefly Generate API (the flagship service): an ImageGenerationPort + adapter for text-to-image and the image-edit operations (generative fill/expand, image-to-image, style transfer) over the adobe-firefly-core foundation. Async via FireflyJobPort; presigned IO; content-credentials and safety flags pass through as port options.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Audio/Video (Media)",
|
|
4
4
|
"description": "Audio/Video (Media) generation for Adobe Firefly Services (firefly-api.adobe.io): a MediaGenerationPort + adapter for text-to-video, image-to-video, audio/video translation, speech, and sound effects over the adobe-firefly-core foundation. Async and LONG (minutes) via FireflyJobPort; webhook job_mode strongly recommended. Partner models (Veo/Runway/Kling/ElevenLabs) are opaque model ids where entitled — no partner SDKs.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Azure Blob Presigned Storage",
|
|
4
4
|
"description": "Registers an Azure Blob Storage presigner for the adobe-firefly-core storage seam: mints read SAS URLs for Firefly inputs and create/write SAS URLs for outputs (storage: \"external\"). Signs with an account key, or a managed-identity user-delegation key when no key is set. Mutually exclusive with the S3/GCS presigners. Install @azure/storage-blob + @azure/identity.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": ["adobe-firefly-storage-s3", "adobe-firefly-storage-gcs"],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — GCS Presigned Storage",
|
|
4
4
|
"description": "Registers a Google Cloud Storage presigner for the adobe-firefly-core storage seam: signs V4 read URLs for Firefly inputs and V4 write URLs for outputs (storage: \"external\"). Mutually exclusive with the S3/Azure presigners. Install @google-cloud/storage.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": ["adobe-firefly-storage-s3", "adobe-firefly-storage-azure"],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — S3 Presigned Storage",
|
|
4
4
|
"description": "Registers an Amazon S3 presigner for the adobe-firefly-core storage seam: presigns GET URLs for Firefly inputs and PUT URLs for outputs (storage: \"external\"). Mutually exclusive with the GCS/Azure presigners. Install @aws-sdk/client-s3 + @aws-sdk/s3-request-presigner.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": ["adobe-firefly-storage-gcs", "adobe-firefly-storage-azure"],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Firefly — Upscale",
|
|
4
4
|
"description": "Image Upscale service for Adobe Firefly. Adds an UpscalePort + adapter that submits an async upscale job through the adobe-firefly-core foundation (IMS auth, REST client, job port, presigned storage). The lightest service — a good end-to-end validation of the foundation.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Illustrator API",
|
|
4
4
|
"description": "Illustrator automation for Adobe Firefly Services (image.adobe.io): an IllustratorPort + adapter for artboard rendering, variable-data merge, and vector scaling (vector→raster at arbitrary scale — ads to billboards) over the adobe-firefly-core foundation. Async.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe IMS SPA (PKCE)",
|
|
4
4
|
"description": "Modern Adobe IMS Single Page App + PKCE flow: login, callback, logout routes, AES-256-GCM token store, silent auto-refresh, and a root middleware that protects configured paths and validates IMS sessions while still honouring AUTH_MODE=mock as a dev short-circuit.",
|
|
5
5
|
"version": "2.0.0",
|
|
6
|
+
"provides": "platform.auth",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["shared-types", "auth-mock", "env-setup"],
|
|
7
9
|
"conflicts": [
|
|
8
10
|
"nextauth",
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe InDesign API",
|
|
4
4
|
"description": "InDesign automation for Adobe Firefly Services (image.adobe.io): an InDesignPort + adapter for data merge (template + data source), layout rendering, and PDF export over the adobe-firefly-core foundation. Async.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Lightroom API",
|
|
4
4
|
"description": "Lightroom automation for Adobe Firefly Services (image.adobe.io/lrService): a LightroomPort + adapter for auto-tone, preset application, and parametric edits over the adobe-firefly-core foundation. Async, batch-oriented photo editing / color grading.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Photoshop API",
|
|
4
4
|
"description": "Photoshop automation for Adobe Firefly Services (image.adobe.io/pie/psdService): a PhotoshopAutomationPort + adapter for Smart Object replacement, text-layer edits, action JSON, crop, and PSD rendering over the adobe-firefly-core foundation. Async; inputs are named layers in a pre-authored .psd.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Adobe Substance 3D API",
|
|
4
4
|
"description": "Substance 3D automation for Adobe Firefly Services (image.adobe.io): a Substance3DPort + adapter for scene render, composite, and relight over the adobe-firefly-core foundation. Async, compute-heavy — the longest-running Firefly jobs; polled by status URL (image.adobe.io services don't deliver Firefly webhooks) and the poll has no max-wait cap, so long renders aren't cut off.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "external-integration.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["adobe-firefly-core"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Auth Mock",
|
|
4
4
|
"description": "Dev-only root middleware that injects shared-types' MOCK_USER as x-user-context when AUTH_MODE=mock. Real auth providers ship their own middleware that overwrites this one and still honours AUTH_MODE=mock as a dev short-circuit.",
|
|
5
5
|
"version": "3.0.0",
|
|
6
|
+
"provides": "platform.auth",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["shared-types", "env-setup"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"id": "bedrock-agentcore-runtime",
|
|
3
3
|
"name": "Bedrock AgentCore Runtime",
|
|
4
4
|
"description": "Deploy the Hexagen TypeScript server to Amazon Bedrock AgentCore Runtime as an ARM64 container implementing the HTTP contract (POST /invocations, GET /ping). Generates agentcore.json, an IAM execution policy, and an optional deploy GitHub Action — no Python agent scaffolding.",
|
|
5
|
+
"provides": "platform.runtime",
|
|
6
|
+
"scope": "project",
|
|
5
7
|
"version": "1.0.0",
|
|
6
8
|
"requires": ["docker", "env-setup"],
|
|
7
9
|
"conflicts": [],
|
|
@@ -68,11 +70,17 @@
|
|
|
68
70
|
".env.agentcore.example",
|
|
69
71
|
{
|
|
70
72
|
"path": ".github/workflows/deploy-agentcore.yml",
|
|
71
|
-
"when": {
|
|
73
|
+
"when": {
|
|
74
|
+
"answer": "deploy_ci",
|
|
75
|
+
"equals": true
|
|
76
|
+
}
|
|
72
77
|
},
|
|
73
78
|
{
|
|
74
79
|
"path": "infra/agentcore-stack.ts",
|
|
75
|
-
"when": {
|
|
80
|
+
"when": {
|
|
81
|
+
"answer": "provision",
|
|
82
|
+
"equals": "cdk"
|
|
83
|
+
}
|
|
76
84
|
}
|
|
77
85
|
],
|
|
78
86
|
"checklist": [
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"id": "bedrock-agentcore-services",
|
|
3
3
|
"name": "Bedrock AgentCore Services",
|
|
4
4
|
"description": "Hexagonal ports + adapters for Amazon Bedrock AgentCore stateful services — Memory (multi-turn + long-term recall), Gateway (APIs/Lambdas/MCP as MCP tools), and Identity (workload token + IdP claim bridge to UserContext). The application layer depends only on the ports; install @aws-sdk/client-bedrock-agentcore.",
|
|
5
|
+
"provides": "agent.out-adapter",
|
|
6
|
+
"scope": "context",
|
|
5
7
|
"version": "1.0.0",
|
|
6
8
|
"requires": ["env-setup"],
|
|
7
9
|
"conflicts": [],
|
|
@@ -46,39 +48,66 @@
|
|
|
46
48
|
"outputs": [
|
|
47
49
|
{
|
|
48
50
|
"path": "src/domain/ports/out/agent-memory.port.ts",
|
|
49
|
-
"when": {
|
|
51
|
+
"when": {
|
|
52
|
+
"answer": "services",
|
|
53
|
+
"includes": "memory"
|
|
54
|
+
}
|
|
50
55
|
},
|
|
51
56
|
{
|
|
52
57
|
"path": "src/infrastructure/agentcore/memory/agentcore-memory.adapter.ts",
|
|
53
|
-
"when": {
|
|
58
|
+
"when": {
|
|
59
|
+
"answer": "services",
|
|
60
|
+
"includes": "memory"
|
|
61
|
+
}
|
|
54
62
|
},
|
|
55
63
|
{
|
|
56
64
|
"path": "src/infrastructure/agentcore/memory/memory-config.ts",
|
|
57
|
-
"when": {
|
|
65
|
+
"when": {
|
|
66
|
+
"answer": "services",
|
|
67
|
+
"includes": "memory"
|
|
68
|
+
}
|
|
58
69
|
},
|
|
59
70
|
{
|
|
60
71
|
"path": "src/domain/ports/out/tool-gateway.port.ts",
|
|
61
|
-
"when": {
|
|
72
|
+
"when": {
|
|
73
|
+
"answer": "services",
|
|
74
|
+
"includes": "gateway"
|
|
75
|
+
}
|
|
62
76
|
},
|
|
63
77
|
{
|
|
64
78
|
"path": "src/infrastructure/agentcore/gateway/agentcore-gateway.adapter.ts",
|
|
65
|
-
"when": {
|
|
79
|
+
"when": {
|
|
80
|
+
"answer": "services",
|
|
81
|
+
"includes": "gateway"
|
|
82
|
+
}
|
|
66
83
|
},
|
|
67
84
|
{
|
|
68
85
|
"path": "src/infrastructure/agentcore/gateway/mcp-tool-mapper.ts",
|
|
69
|
-
"when": {
|
|
86
|
+
"when": {
|
|
87
|
+
"answer": "services",
|
|
88
|
+
"includes": "gateway"
|
|
89
|
+
}
|
|
70
90
|
},
|
|
71
91
|
{
|
|
72
92
|
"path": "src/domain/ports/out/agent-identity.port.ts",
|
|
73
|
-
"when": {
|
|
93
|
+
"when": {
|
|
94
|
+
"answer": "services",
|
|
95
|
+
"includes": "identity"
|
|
96
|
+
}
|
|
74
97
|
},
|
|
75
98
|
{
|
|
76
99
|
"path": "src/infrastructure/agentcore/identity/agentcore-identity.adapter.ts",
|
|
77
|
-
"when": {
|
|
100
|
+
"when": {
|
|
101
|
+
"answer": "services",
|
|
102
|
+
"includes": "identity"
|
|
103
|
+
}
|
|
78
104
|
},
|
|
79
105
|
{
|
|
80
106
|
"path": "src/infrastructure/agentcore/identity/idp-bridge.ts",
|
|
81
|
-
"when": {
|
|
107
|
+
"when": {
|
|
108
|
+
"answer": "services",
|
|
109
|
+
"includes": "identity"
|
|
110
|
+
}
|
|
82
111
|
},
|
|
83
112
|
"agentcore/agentcore-services.json",
|
|
84
113
|
".env.agentcore-services.example"
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Better Auth",
|
|
4
4
|
"description": "Standalone Better Auth server: email/password + Google/GitHub social providers, magic-link plugin, built-in rate limiting, typed auth client, and core DB schema + migration",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "platform.auth",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["env-setup"],
|
|
7
9
|
"conflicts": [
|
|
8
10
|
"auth-mock",
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "BullMQ",
|
|
4
4
|
"description": "Typed BullMQ job queues with workers, scheduler, Redis fallback to in-process sync execution, optional Bull Board dashboard, and per-queue routing. Designed for background processing (image generation, email, webhooks, exports) where tasks are too slow for request/response cycles.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "messaging.out-adapter",
|
|
7
|
+
"scope": "context",
|
|
6
8
|
"requires": ["env-setup"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -51,6 +51,13 @@ the secrets each needs.
|
|
|
51
51
|
- The "Validate env vars" step runs `check:env` from [`env-setup`](../env-setup); delete it if
|
|
52
52
|
env-setup isn't installed.
|
|
53
53
|
- Only the workflow for the chosen `deploy_target` is emitted.
|
|
54
|
+
- **Dependabot is tuned to avoid a first-publish PR flood.** Action bumps are
|
|
55
|
+
grouped into one PR; npm minor+patch bumps are batched into one PR per
|
|
56
|
+
dependency type (`production-dependencies`, `dev-dependencies`), while **major**
|
|
57
|
+
bumps still arrive individually for careful review. To go quieter, make the npm
|
|
58
|
+
ecosystem security-only: change the npm entry's existing
|
|
59
|
+
`open-pull-requests-limit: 5` to `0` (version updates off; security updates
|
|
60
|
+
still open) — trades freshness for near-zero noise on a freshly scaffolded repo.
|
|
54
61
|
|
|
55
62
|
## Checklist (post-install)
|
|
56
63
|
|
|
@@ -1,20 +1,32 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
3
|
# Keep GitHub Actions versions current — stale, unpinned actions are a real
|
|
4
|
-
# supply-chain risk.
|
|
4
|
+
# supply-chain risk. Grouped so a sweep of action bumps is ONE PR, not one per
|
|
5
|
+
# action (a fresh repo is "behind latest" on every action at first push).
|
|
5
6
|
- package-ecosystem: github-actions
|
|
6
7
|
directory: /
|
|
7
8
|
schedule:
|
|
8
9
|
interval: weekly
|
|
9
10
|
open-pull-requests-limit: 5
|
|
11
|
+
groups:
|
|
12
|
+
github-actions:
|
|
13
|
+
patterns: ["*"]
|
|
10
14
|
|
|
11
|
-
#
|
|
15
|
+
# npm: batch NON-BREAKING bumps (minor + patch) into one PR per dependency
|
|
16
|
+
# type, so a freshly published repo doesn't open a wave of PRs (every dep is
|
|
17
|
+
# "behind latest" at once on first push — previously production deps were
|
|
18
|
+
# ungrouped, so each one opened its own PR). MAJOR bumps still arrive
|
|
19
|
+
# individually so each potentially-breaking change is reviewed on its own.
|
|
20
|
+
# To go quieter still, switch npm to security-only updates — see README.
|
|
12
21
|
- package-ecosystem: npm
|
|
13
22
|
directory: /
|
|
14
23
|
schedule:
|
|
15
24
|
interval: weekly
|
|
25
|
+
open-pull-requests-limit: 5
|
|
16
26
|
groups:
|
|
27
|
+
production-dependencies:
|
|
28
|
+
dependency-type: production
|
|
29
|
+
update-types: ["minor", "patch"]
|
|
17
30
|
dev-dependencies:
|
|
18
|
-
patterns: ["*"]
|
|
19
31
|
dependency-type: development
|
|
20
|
-
|
|
32
|
+
update-types: ["minor", "patch"]
|
|
@@ -36,9 +36,13 @@ jobs:
|
|
|
36
36
|
- uses: actions/setup-node@v4
|
|
37
37
|
with:
|
|
38
38
|
node-version: "{node_version}"
|
|
39
|
-
# No
|
|
40
|
-
#
|
|
41
|
-
#
|
|
39
|
+
# No `cache: yarn` here. setup-node's yarn cache runs the runner's
|
|
40
|
+
# global Yarn (Classic 1.22) to locate the store — BEFORE the Corepack
|
|
41
|
+
# steps below activate the pinned yarn@4 — so it fails on a
|
|
42
|
+
# packageManager-pinned project. Committing yarn.lock does NOT make it
|
|
43
|
+
# safe: the hazard is ordering, not the lockfile. To cache, add a
|
|
44
|
+
# separate actions/cache step AFTER Corepack instead. The Turbo cache
|
|
45
|
+
# below already covers task outputs.
|
|
42
46
|
|
|
43
47
|
# Corepack activates the package manager pinned in package.json
|
|
44
48
|
# (`packageManager`). Without it, the runner's default Yarn (Classic)
|
|
@@ -34,9 +34,27 @@ jobs:
|
|
|
34
34
|
- uses: actions/setup-node@v4
|
|
35
35
|
with:
|
|
36
36
|
node-version: "{node_version}"
|
|
37
|
-
cache:
|
|
37
|
+
# No `cache: yarn` here. setup-node's yarn cache runs the runner's
|
|
38
|
+
# global Yarn (Classic 1.22) to locate the store — BEFORE the Corepack
|
|
39
|
+
# steps below activate the pinned yarn@4 — so it fails on a
|
|
40
|
+
# packageManager-pinned project. Committing yarn.lock does NOT make it
|
|
41
|
+
# safe: the hazard is ordering, not the lockfile. To cache, add a
|
|
42
|
+
# separate actions/cache step AFTER Corepack instead. Mirrors ci.yml.
|
|
38
43
|
|
|
39
|
-
|
|
44
|
+
# Corepack activates the package manager pinned in package.json
|
|
45
|
+
# (`packageManager`); without it the runner's default Yarn (Classic) can't
|
|
46
|
+
# honor a Yarn-4 project. Mirrors ci.yml. See SETUP.md.
|
|
47
|
+
- name: Enable Corepack
|
|
48
|
+
run: corepack enable
|
|
49
|
+
|
|
50
|
+
- name: Prepare package manager
|
|
51
|
+
run: |
|
|
52
|
+
corepack prepare "$(node -p 'require("./package.json").packageManager')" --activate
|
|
53
|
+
|
|
54
|
+
# First run has no committed lockfile, so install is NOT immutable. Switch
|
|
55
|
+
# to `yarn install --immutable` after you commit yarn.lock. See SETUP.md.
|
|
56
|
+
- name: Install dependencies
|
|
57
|
+
run: "yarn install"
|
|
40
58
|
|
|
41
59
|
- name: Deploy preview
|
|
42
60
|
id: deploy
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"id": "ci-github-actions",
|
|
3
3
|
"name": "CI / GitHub Actions",
|
|
4
4
|
"description": "GitHub Actions CI (build/typecheck/lint/test) with Turbo cache, a per-target deploy workflow (Vercel/Railway/Fly.io/VPS), optional PR preview deploys, and Dependabot",
|
|
5
|
+
"provides": "platform.ci",
|
|
6
|
+
"scope": "project",
|
|
5
7
|
"version": "1.0.0",
|
|
6
8
|
"requires": [],
|
|
7
9
|
"conflicts": [],
|
|
@@ -64,27 +66,45 @@
|
|
|
64
66
|
".github/dependabot.yml",
|
|
65
67
|
{
|
|
66
68
|
"path": ".github/workflows/deploy-vercel.yml",
|
|
67
|
-
"when": {
|
|
69
|
+
"when": {
|
|
70
|
+
"answer": "deploy_target",
|
|
71
|
+
"equals": "vercel"
|
|
72
|
+
}
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
"path": ".github/workflows/deploy-railway.yml",
|
|
71
|
-
"when": {
|
|
76
|
+
"when": {
|
|
77
|
+
"answer": "deploy_target",
|
|
78
|
+
"equals": "railway"
|
|
79
|
+
}
|
|
72
80
|
},
|
|
73
81
|
{
|
|
74
82
|
"path": ".github/workflows/deploy-fly.yml",
|
|
75
|
-
"when": {
|
|
83
|
+
"when": {
|
|
84
|
+
"answer": "deploy_target",
|
|
85
|
+
"equals": "fly-io"
|
|
86
|
+
}
|
|
76
87
|
},
|
|
77
88
|
{
|
|
78
89
|
"path": "fly.toml",
|
|
79
|
-
"when": {
|
|
90
|
+
"when": {
|
|
91
|
+
"answer": "deploy_target",
|
|
92
|
+
"equals": "fly-io"
|
|
93
|
+
}
|
|
80
94
|
},
|
|
81
95
|
{
|
|
82
96
|
"path": ".github/workflows/deploy-vps.yml",
|
|
83
|
-
"when": {
|
|
97
|
+
"when": {
|
|
98
|
+
"answer": "deploy_target",
|
|
99
|
+
"equals": "vps-ssh"
|
|
100
|
+
}
|
|
84
101
|
},
|
|
85
102
|
{
|
|
86
103
|
"path": ".github/workflows/preview.yml",
|
|
87
|
-
"when": {
|
|
104
|
+
"when": {
|
|
105
|
+
"answer": "preview_deploys",
|
|
106
|
+
"equals": true
|
|
107
|
+
}
|
|
88
108
|
}
|
|
89
109
|
],
|
|
90
110
|
"checklist": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Clerk",
|
|
4
4
|
"description": "Standalone Clerk integration: clerkMiddleware route protection, server-side auth helpers, org/app-level RoleGuard component, protected route group, and a JWT-template API example",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "platform.auth",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["env-setup"],
|
|
7
9
|
"conflicts": [
|
|
8
10
|
"auth-mock",
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"id": "design-system",
|
|
3
3
|
"name": "Design System",
|
|
4
4
|
"description": "Populated DESIGN.md contract, CSS custom property tokens, Tailwind config extension, base component stubs",
|
|
5
|
+
"provides": "platform.design-system",
|
|
6
|
+
"scope": "project",
|
|
5
7
|
"version": "1.0.0",
|
|
6
8
|
"requires": [],
|
|
7
9
|
"conflicts": [],
|
|
@@ -58,15 +60,24 @@
|
|
|
58
60
|
"tailwind.config.ts",
|
|
59
61
|
{
|
|
60
62
|
"path": ".storybook/main.ts",
|
|
61
|
-
"when": {
|
|
63
|
+
"when": {
|
|
64
|
+
"answer": "storybook",
|
|
65
|
+
"equals": true
|
|
66
|
+
}
|
|
62
67
|
},
|
|
63
68
|
{
|
|
64
69
|
"path": ".storybook/preview.ts",
|
|
65
|
-
"when": {
|
|
70
|
+
"when": {
|
|
71
|
+
"answer": "storybook",
|
|
72
|
+
"equals": true
|
|
73
|
+
}
|
|
66
74
|
},
|
|
67
75
|
{
|
|
68
76
|
"path": "src/components/ui/button.stories.tsx",
|
|
69
|
-
"when": {
|
|
77
|
+
"when": {
|
|
78
|
+
"answer": "storybook",
|
|
79
|
+
"equals": true
|
|
80
|
+
}
|
|
70
81
|
}
|
|
71
82
|
],
|
|
72
83
|
"checklist": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Docker",
|
|
4
4
|
"description": "Multi-stage Dockerfile, docker-compose with peer services, dev override for hot reload, GitHub Actions image push",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "platform.container",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": [],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "Error Handling",
|
|
4
4
|
"description": "3-layer error hierarchy, Result<T,E> type, RFC 7807 HTTP mapping, React error boundary",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "platform.error-handling",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["env-setup"],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "ESLint — no-console (logger enforcement)",
|
|
4
4
|
"description": "A drop-in ESLint flat-config fragment that bans console.* (no-console) so logging goes through the structured logger instead of console.log technical debt — with the logger transport, server startup, CLI scripts, and config files exempted. Spread it into your eslint.config.mjs.",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
+
"provides": "platform.lint",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": [],
|
|
7
9
|
"conflicts": [],
|
|
8
10
|
"questions": [
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"name": "GitHub OAuth",
|
|
4
4
|
"description": "GitHub OAuth App integration: code exchange, primary-email fetch, org-membership gate, AES-256-GCM stateless session cookie, and a root middleware that protects configured paths while still honouring AUTH_MODE=mock as a dev short-circuit.",
|
|
5
5
|
"version": "2.0.0",
|
|
6
|
+
"provides": "platform.auth",
|
|
7
|
+
"scope": "project",
|
|
6
8
|
"requires": ["shared-types", "auth-mock", "env-setup"],
|
|
7
9
|
"conflicts": [
|
|
8
10
|
"nextauth",
|