create-flowdular 0.4.3 → 0.5.1

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.
Files changed (54) hide show
  1. package/README.md +9 -6
  2. package/agent-template/.agents/skills/auth-security-review/SKILL.md +1 -1
  3. package/agent-template/.agents/skills/bug-hunt/SKILL.md +1 -1
  4. package/agent-template/.agents/skills/spec-interview/SKILL.md +20 -20
  5. package/agent-template/.agents/skills/ux-design/SKILL.md +1 -1
  6. package/agent-template/.ai/README.md +5 -3
  7. package/agent-template/.ai/agents/README.md +1 -1
  8. package/agent-template/.ai/agents/sandbox/agentic-engineer.md +1 -0
  9. package/agent-template/.ai/agents/sandbox/backend-engineer.md +1 -0
  10. package/agent-template/.ai/agents/sandbox/frontend-engineer.md +1 -0
  11. package/agent-template/.ai/blueprints/add-migration/README.md +1 -1
  12. package/agent-template/.ai/examples/bad/client-imports-server/README.md +1 -1
  13. package/agent-template/.ai/examples/bad/missing-acl/README.md +1 -1
  14. package/agent-template/.ai/examples/bad/tenant-from-body/README.md +1 -1
  15. package/agent-template/.ai/guides/application-development.md +7 -5
  16. package/agent-template/.ai/platform-capabilities.md +2 -0
  17. package/agent-template/.ai/policies/task-budgets.yaml +1 -1
  18. package/agent-template/.ai/rules/flowdular.md +3 -2
  19. package/agent-template/.ai/skills/auth-security-review/SKILL.md +1 -1
  20. package/agent-template/.ai/skills/bug-hunt/SKILL.md +1 -1
  21. package/agent-template/.ai/skills/spec-interview/SKILL.md +20 -20
  22. package/agent-template/.ai/skills/ux-design/SKILL.md +1 -1
  23. package/agent-template/.ai/subagents/module-executor.md +25 -0
  24. package/agent-template/.ai/subagents/reviewer.md +23 -0
  25. package/agent-template/.ai/subagents/spec-author.md +23 -0
  26. package/agent-template/.claude/agents/module-executor.md +22 -0
  27. package/agent-template/.claude/agents/reviewer.md +24 -0
  28. package/agent-template/.claude/agents/spec-author.md +20 -0
  29. package/agent-template/.claude/skills/auth-security-review/SKILL.md +1 -1
  30. package/agent-template/.claude/skills/bug-hunt/SKILL.md +1 -1
  31. package/agent-template/.claude/skills/spec-interview/SKILL.md +20 -20
  32. package/agent-template/.claude/skills/ux-design/SKILL.md +1 -1
  33. package/agent-template/.codex/agents/module-executor.toml +17 -0
  34. package/agent-template/.codex/agents/reviewer.toml +14 -0
  35. package/agent-template/.codex/agents/spec-author.toml +15 -0
  36. package/agent-template/AGENTS.md +3 -2
  37. package/agent-template/CLAUDE.md +3 -2
  38. package/agent-template/docs/configuration.md +27 -0
  39. package/agent-template/docs/design-system.md +2 -2
  40. package/agent-template/docs/modules.md +6 -0
  41. package/agent-template/docs/sandbox.md +117 -6
  42. package/agent-template/rulesync.jsonc +1 -1
  43. package/dist/bin.js +9 -0
  44. package/package.json +2 -2
  45. package/template/default/.env.example +7 -0
  46. package/template/default/.prettierignore +2 -0
  47. package/template/default/README.md +6 -4
  48. package/template/default/modules/example/package.json +1 -1
  49. package/template/default/package.json +3 -2
  50. package/template/default/platform/index.html +7 -19
  51. package/template/default/platform/package.json +1 -1
  52. package/template/default/platform/public/favicon.svg +1 -1
  53. package/template/default/platform/src/App.tsrx +25 -1
  54. package/template/default/platform/src/generated/modules.server.ts +2 -0
@@ -2,6 +2,10 @@ import { configureApplicationFromPage } from '@flowdular/sdk/client/routing';
2
2
  import {
3
3
  ApplicationShell,
4
4
  activeLocale,
5
+ applicationBranding,
6
+ brandingTitleSuffix,
7
+ configureBrandingFromPage,
8
+ DEFAULT_APPLICATION_BRANDING,
5
9
  shellLocationFromUrl,
6
10
  t,
7
11
  } from '@flowdular/sdk/client';
@@ -10,7 +14,7 @@ import {
10
14
  authScreenFromUrl,
11
15
  } from '@flowdular/sdk/modules/auth/client';
12
16
  import type { AuthPrincipal } from '@flowdular/sdk/modules/auth';
13
- import { Head } from '@octanejs/seo';
17
+ import { Head, Link, Meta, Seo } from '@octanejs/seo';
14
18
  import type { RenderRouteProps } from '@octanejs/vite-plugin';
15
19
  import {
16
20
  createModuleClientContributions,
@@ -64,9 +68,29 @@ function AuthenticatedApp(props: AuthenticatedAppProps) @{
64
68
 
65
69
  export function App(props?: RenderRouteProps) @{
66
70
  configureApplicationFromPage(props, applicationBasePath);
71
+ configureBrandingFromPage(props);
72
+ const branding = applicationBranding();
67
73
  const initialUrl =
68
74
  props?.url ?? (typeof window === 'undefined' ? '/' : window.location.href);
69
75
  <Head>
76
+ <Seo
77
+ title={t('shell.workspace.title')}
78
+ titleTemplate={'%s · ' + brandingTitleSuffix(branding)}
79
+ description={branding.description || t('shell.seo.description')}
80
+ robots={{ index: false, follow: false, noarchive: true }}
81
+ openGraph={{ type: 'website', siteName: branding.appName }}
82
+ />
83
+ <Link rel="icon" href={branding.faviconUrl} />
84
+ <Meta name="theme-color" content={branding.themeColor} />
85
+ {/* A new application ships no preview image of its own, so the link
86
+ preview is declared only once an operator points the setting at one. */}
87
+ @if (branding.ogImageUrl !== DEFAULT_APPLICATION_BRANDING.ogImageUrl) {
88
+ <>
89
+ <Meta property="og:image" content={branding.ogImageUrl} />
90
+ <Meta name="twitter:card" content="summary_large_image" />
91
+ <Meta name="twitter:image" content={branding.ogImageUrl} />
92
+ </>
93
+ }
70
94
  <AuthenticationCore
71
95
  initialScreen={authScreenFromUrl(initialUrl)}
72
96
  renderAuthenticated={(principal, controls) =>
@@ -121,6 +121,7 @@ export function composeModuleServer(
121
121
  'agents.run-queue',
122
122
  'agents.run-execution.v2',
123
123
  'agents.actions.v1',
124
+ 'agents.decisions.v1',
124
125
  ],
125
126
  requires: [
126
127
  { id: 'notifications.publish.v1', optional: true },
@@ -170,6 +171,7 @@ export function composeModuleServer(
170
171
  { id: 'agents.actions.v1' },
171
172
  { id: 'notifications.publish.v1', optional: true },
172
173
  { id: 'approvals.requests.v1', optional: true },
174
+ { id: 'agents.decisions.v1', optional: true },
173
175
  ],
174
176
  }),
175
177
  metrics: createModuleMetrics('workflows.core'),