forgeos 0.1.0-alpha.43 → 0.1.0-alpha.44

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/AGENTS.md CHANGED
@@ -1,4 +1,4 @@
1
- // @forge-generated generator=0.1.0-alpha.43 input=f15e1d5ecb88338643677cb7fb622a7ccdcf347f2b5c020ea5ce16b33f7d1f56 content=721818a6f9a664aa898092d4aa5cd68cbbd8ad6e150c7d3ad3ef785a2e3fcf53
1
+ // @forge-generated generator=0.1.0-alpha.44 input=3c44e5f9f6fd4afe42accec6d73bca4f36f188ed9de5fb11f4a890d3020fe2bc content=721818a6f9a664aa898092d4aa5cd68cbbd8ad6e150c7d3ad3ef785a2e3fcf53
2
2
  # AGENTS.md
3
3
 
4
4
  <!-- forge-generated:start -->
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # forgeos
2
2
 
3
+ ## 0.1.0-alpha.44
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove a false positive from UI ergonomics checks for generated apps that
8
+ auto-seed through a helper inside `useEffect`.
9
+
10
+ - `forge inspect ui --ergonomics` now recognizes `runSeed...` helper calls
11
+ inside bounded `useEffect` blocks as automatic first-run seed recovery.
12
+ - The `vendor-access` template regression now asserts that connected
13
+ auto-seed scenarios do not emit `FORGE_UI_AUTO_SEED_RECOVERY_MISSING`,
14
+ keeping `forge field-test run --realistic` aligned with deploy-readiness
15
+ expectations.
16
+
3
17
  ## 0.1.0-alpha.43
4
18
 
5
19
  ### Patch Changes
package/docs/changelog.md CHANGED
@@ -6,6 +6,16 @@ The canonical source file in the repository is `CHANGELOG.md`.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 0.1.0-alpha.44
10
+
11
+ - `forge inspect ui --ergonomics` now treats helper-based seed recovery inside
12
+ `useEffect` as valid automatic first-run recovery, fixing a false
13
+ `FORGE_UI_AUTO_SEED_RECOVERY_MISSING` warning in the `vendor-access`
14
+ template.
15
+ - Added template regression coverage so `vendor-access` keeps its seed
16
+ controls, auto-seed UI scenario, and zero-warning ergonomics evidence in sync
17
+ with `forge field-test run --realistic`.
18
+
9
19
  ## 0.1.0-alpha.43
10
20
 
11
21
  - Included `scripts/field-test-forgeos.mjs` in the published npm package so
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgeos",
3
- "version": "0.1.0-alpha.43",
3
+ "version": "0.1.0-alpha.44",
4
4
  "description": "Agent-native application framework and compiler for building Forge apps without a mandatory dashboard.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1 +1 @@
1
- {"defaultProvider":"local","diagnostics":[],"env":{"deployEnv":"FORGE_DEPLOY_ENV","deployId":"FORGE_DEPLOY_ID","publicReleaseId":"NEXT_PUBLIC_FORGE_RELEASE_ID","releaseId":"FORGE_RELEASE_ID"},"gitSha":"unknown","optionalProviders":["local","sentry-compatible","sentry","glitchtip","bugsink","otel","custom"],"packageName":"forgeos","packageVersion":"0.1.0-alpha.43","releaseId":"forgeos@0.1.0-alpha.43+unknown","schemaVersion":"0.1.0"}
1
+ {"defaultProvider":"local","diagnostics":[],"env":{"deployEnv":"FORGE_DEPLOY_ENV","deployId":"FORGE_DEPLOY_ID","publicReleaseId":"NEXT_PUBLIC_FORGE_RELEASE_ID","releaseId":"FORGE_RELEASE_ID"},"gitSha":"unknown","optionalProviders":["local","sentry-compatible","sentry","glitchtip","bugsink","otel","custom"],"packageName":"forgeos","packageVersion":"0.1.0-alpha.44","releaseId":"forgeos@0.1.0-alpha.44+unknown","schemaVersion":"0.1.0"}
@@ -1,4 +1,4 @@
1
- // @forge-generated generator=0.1.0-alpha.43 input=f15e1d5ecb88338643677cb7fb622a7ccdcf347f2b5c020ea5ce16b33f7d1f56 content=26804428ac690374e29343ac563ce217391f23b1039aad88e6ae0a1b05aa2036
1
+ // @forge-generated generator=0.1.0-alpha.44 input=3c44e5f9f6fd4afe42accec6d73bca4f36f188ed9de5fb11f4a890d3020fe2bc content=3d89cc8170a2affb58421e25ec58882655d6ea2399efe65a822d99e1afa1ddb5
2
2
  export const releaseManifest = {
3
3
  "defaultProvider": "local",
4
4
  "diagnostics": [],
@@ -19,7 +19,7 @@ export const releaseManifest = {
19
19
  "custom"
20
20
  ],
21
21
  "packageName": "forgeos",
22
- "packageVersion": "0.1.0-alpha.43",
23
- "releaseId": "forgeos@0.1.0-alpha.43+unknown",
22
+ "packageVersion": "0.1.0-alpha.44",
23
+ "releaseId": "forgeos@0.1.0-alpha.44+unknown",
24
24
  "schemaVersion": "0.1.0"
25
25
  } as const;
@@ -420,8 +420,11 @@ function hasSeedExperience(text: string): boolean {
420
420
  }
421
421
 
422
422
  function hasAutomaticSeedRecovery(text: string): boolean {
423
- return /useEffect\s*\([\s\S]{0,3000}\b(runSeed|seed[A-Za-z0-9_]*\.run|seedWorkspace\.run|seedVendorAccessDemo\.run)\b/i.test(text) &&
424
- /\b(length\s*===\s*0|No\s+\w+|empty|tenantSeedState|workspace\s+is\s+empty|first[-\s]?run)\b/i.test(text);
423
+ const effectBlocks = text.match(/useEffect\s*\([\s\S]{0,5000}?\n\s*\}\s*,\s*\[/gi) ?? [];
424
+ return effectBlocks.some((block) =>
425
+ /\b(runSeed[A-Za-z0-9_]*|seed[A-Za-z0-9_]*\.run|seedWorkspace\.run|seedVendorAccessDemo\.run)\b/.test(block) &&
426
+ /\b(length\s*===\s*0|No\s+\w+|empty|tenantSeedState|workspace\s+is\s+empty|first[-\s]?run)\b/i.test(block),
427
+ );
425
428
  }
426
429
 
427
430
  function findFormWithoutLabel(text: string): boolean {
@@ -1,3 +1,3 @@
1
- export const FORGEOS_VERSION = "0.1.0-alpha.43";
1
+ export const FORGEOS_VERSION = "0.1.0-alpha.44";
2
2
  export const GENERATOR_VERSION = FORGEOS_VERSION;
3
3
  export const CLI_VERSION = FORGEOS_VERSION;