@jskit-ai/agent-docs 0.1.130 → 0.1.132

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 (171) hide show
  1. package/guide/agent/app-extras/assistant.md +29 -605
  2. package/guide/agent/app-extras/mobile-capacitor.md +29 -362
  3. package/guide/agent/app-extras/realtime.md +29 -277
  4. package/guide/agent/app-setup/a-more-interesting-shell.md +44 -815
  5. package/guide/agent/app-setup/authentication.md +43 -1073
  6. package/guide/agent/app-setup/console.md +26 -298
  7. package/guide/agent/app-setup/database-layer.md +110 -790
  8. package/guide/agent/app-setup/initial-scaffolding.md +50 -784
  9. package/guide/agent/app-setup/multi-homing.md +39 -712
  10. package/guide/agent/app-setup/quickstart.md +43 -179
  11. package/guide/agent/app-setup/users.md +34 -353
  12. package/guide/agent/index.md +16 -23
  13. package/package.json +2 -2
  14. package/patterns/INDEX.md +7 -7
  15. package/patterns/child-cruds.md +3 -3
  16. package/patterns/client-requests.md +6 -6
  17. package/patterns/crud-authoring.md +94 -0
  18. package/patterns/crud-links.md +1 -1
  19. package/patterns/feature-package/PATTERN.md +108 -0
  20. package/patterns/feature-package/example/booking-engine/package.json +48 -0
  21. package/patterns/feature-package/example/booking-engine/src/server/BookingEngineProvider.js +33 -0
  22. package/patterns/feature-package/example/booking-engine/src/server/actions.js +26 -0
  23. package/patterns/feature-package/example/booking-engine/src/server/inputSchemas.js +19 -0
  24. package/patterns/feature-package/example/variations/AvailabilityEngineProvider.js +31 -0
  25. package/patterns/feature-package/example/variations/InvoiceRollupProvider.js +36 -0
  26. package/patterns/feature-package/example/variations/customKnexRepository.js +34 -0
  27. package/patterns/feature-package/example/variations/orchestratorService.js +23 -0
  28. package/patterns/filters.md +8 -8
  29. package/patterns/live-actions.md +5 -18
  30. package/patterns/minimal-foundation/PATTERN.md +98 -0
  31. package/patterns/minimal-foundation/example/.nvmrc +1 -0
  32. package/patterns/minimal-foundation/example/AGENTS.md +17 -0
  33. package/patterns/minimal-foundation/example/Procfile +2 -0
  34. package/patterns/minimal-foundation/example/app.json +14 -0
  35. package/patterns/minimal-foundation/example/bin/develop.js +71 -0
  36. package/patterns/minimal-foundation/example/bin/server.js +8 -0
  37. package/patterns/minimal-foundation/example/config/public.js +40 -0
  38. package/patterns/minimal-foundation/example/config/server.js +1 -0
  39. package/patterns/minimal-foundation/example/config/surfaceAccessPolicies.js +3 -0
  40. package/patterns/minimal-foundation/example/eslint.config.mjs +19 -0
  41. package/patterns/minimal-foundation/example/favicon.svg +7 -0
  42. package/patterns/minimal-foundation/example/gitignore +9 -0
  43. package/patterns/minimal-foundation/example/index.html +13 -0
  44. package/patterns/minimal-foundation/example/jsconfig.json +8 -0
  45. package/patterns/minimal-foundation/example/package.json +57 -0
  46. package/patterns/minimal-foundation/example/packages/main/package.json +42 -0
  47. package/patterns/minimal-foundation/example/packages/main/src/shared/index.js +10 -0
  48. package/patterns/minimal-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
  49. package/patterns/minimal-foundation/example/playwright.config.mjs +31 -0
  50. package/patterns/minimal-foundation/example/server/lib/runtimeEnv.js +45 -0
  51. package/patterns/minimal-foundation/example/server/lib/surfaceRuntime.js +10 -0
  52. package/patterns/minimal-foundation/example/server.js +195 -0
  53. package/patterns/minimal-foundation/example/src/App.vue +13 -0
  54. package/patterns/minimal-foundation/example/src/main.js +85 -0
  55. package/patterns/minimal-foundation/example/src/pages/home/index.vue +48 -0
  56. package/patterns/minimal-foundation/example/src/pages/home.vue +13 -0
  57. package/patterns/minimal-foundation/example/src/views/NotFound.vue +13 -0
  58. package/patterns/minimal-foundation/example/tests/client/smoke.vitest.js +7 -0
  59. package/patterns/minimal-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
  60. package/patterns/minimal-foundation/example/tests/server/smoke.test.js +16 -0
  61. package/patterns/minimal-foundation/example/vite.config.mjs +81 -0
  62. package/patterns/page-scaffolding.md +20 -17
  63. package/patterns/placements.md +17 -15
  64. package/patterns/row-policies.md +4 -5
  65. package/patterns/server-search.md +3 -3
  66. package/patterns/shell-foundation/PATTERN.md +104 -0
  67. package/patterns/shell-foundation/example/.nvmrc +1 -0
  68. package/patterns/shell-foundation/example/AGENTS.md +17 -0
  69. package/patterns/shell-foundation/example/Procfile +2 -0
  70. package/patterns/shell-foundation/example/app.json +14 -0
  71. package/patterns/shell-foundation/example/bin/develop.js +71 -0
  72. package/patterns/shell-foundation/example/bin/server.js +8 -0
  73. package/patterns/shell-foundation/example/config/public.js +40 -0
  74. package/patterns/shell-foundation/example/config/server.js +1 -0
  75. package/patterns/shell-foundation/example/config/surfaceAccessPolicies.js +3 -0
  76. package/patterns/shell-foundation/example/eslint.config.mjs +19 -0
  77. package/patterns/shell-foundation/example/favicon.svg +7 -0
  78. package/patterns/shell-foundation/example/gitignore +9 -0
  79. package/patterns/shell-foundation/example/index.html +13 -0
  80. package/patterns/shell-foundation/example/jsconfig.json +8 -0
  81. package/patterns/shell-foundation/example/package.json +59 -0
  82. package/patterns/shell-foundation/example/packages/main/package.json +56 -0
  83. package/patterns/shell-foundation/example/packages/main/src/client/index.js +9 -0
  84. package/patterns/shell-foundation/example/packages/main/src/client/providers/MainClientProvider.js +18 -0
  85. package/patterns/shell-foundation/example/packages/main/src/shared/index.js +10 -0
  86. package/patterns/shell-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
  87. package/patterns/shell-foundation/example/playwright.config.mjs +31 -0
  88. package/patterns/shell-foundation/example/server/lib/runtimeEnv.js +45 -0
  89. package/patterns/shell-foundation/example/server/lib/surfaceRuntime.js +10 -0
  90. package/patterns/shell-foundation/example/server.js +195 -0
  91. package/patterns/shell-foundation/example/src/App.vue +11 -0
  92. package/patterns/shell-foundation/example/src/components/ShellLayout.vue +12 -0
  93. package/patterns/shell-foundation/example/src/components/menus/MenuLinkItem.vue +30 -0
  94. package/patterns/shell-foundation/example/src/components/menus/SurfaceAwareMenuLinkItem.vue +42 -0
  95. package/patterns/shell-foundation/example/src/components/menus/TabLinkItem.vue +42 -0
  96. package/patterns/shell-foundation/example/src/error.js +19 -0
  97. package/patterns/shell-foundation/example/src/main.js +85 -0
  98. package/patterns/shell-foundation/example/src/pages/home/index.vue +116 -0
  99. package/patterns/shell-foundation/example/src/pages/home/settings/general/index.vue +40 -0
  100. package/patterns/shell-foundation/example/src/pages/home/settings/index.vue +7 -0
  101. package/patterns/shell-foundation/example/src/pages/home/settings.vue +109 -0
  102. package/patterns/shell-foundation/example/src/pages/home.vue +20 -0
  103. package/patterns/shell-foundation/example/src/placement.js +56 -0
  104. package/patterns/shell-foundation/example/src/placementTopology.js +149 -0
  105. package/patterns/shell-foundation/example/src/views/NotFound.vue +13 -0
  106. package/patterns/shell-foundation/example/tests/client/smoke.vitest.js +7 -0
  107. package/patterns/shell-foundation/example/tests/e2e/adaptive-shell.spec.ts +10 -0
  108. package/patterns/shell-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
  109. package/patterns/shell-foundation/example/tests/server/smoke.test.js +16 -0
  110. package/patterns/shell-foundation/example/vite.config.mjs +81 -0
  111. package/patterns/ui-contract.md +56 -0
  112. package/patterns/ui-testing.md +10 -12
  113. package/reference/autogen/KERNEL_MAP.md +29 -107
  114. package/reference/autogen/PATTERN_INDEX.md +230 -0
  115. package/reference/autogen/README.md +4 -8
  116. package/reference/autogen/packages/agent-docs.md +259 -0
  117. package/reference/autogen/packages/assistant-core.md +3 -3
  118. package/reference/autogen/packages/assistant-runtime.md +32 -17
  119. package/reference/autogen/packages/auth-core.md +31 -33
  120. package/reference/autogen/packages/auth-provider-local-core.md +4 -12
  121. package/reference/autogen/packages/auth-provider-local-db-core.md +4 -4
  122. package/reference/autogen/packages/auth-provider-supabase-core.md +14 -18
  123. package/reference/autogen/packages/auth-web.md +42 -22
  124. package/reference/autogen/packages/console-core.md +8 -25
  125. package/reference/autogen/packages/console-web.md +5 -5
  126. package/reference/autogen/packages/crud-core.md +61 -17
  127. package/reference/autogen/packages/database-runtime-mysql.md +12 -2
  128. package/reference/autogen/packages/database-runtime-postgres.md +12 -2
  129. package/reference/autogen/packages/database-runtime.md +26 -25
  130. package/reference/autogen/packages/google-rewarded-core.md +19 -104
  131. package/reference/autogen/packages/http-runtime.md +4 -8
  132. package/reference/autogen/packages/http-web.md +32 -0
  133. package/reference/autogen/packages/json-rest-api-core.md +4 -6
  134. package/reference/autogen/packages/kernel.md +109 -390
  135. package/reference/autogen/packages/mobile-capacitor.md +2 -13
  136. package/reference/autogen/packages/realtime.md +29 -26
  137. package/reference/autogen/packages/resource-crud-core.md +6 -0
  138. package/reference/autogen/packages/shell-web.md +69 -54
  139. package/reference/autogen/packages/storage-runtime.md +3 -3
  140. package/reference/autogen/packages/uploads-image-web.md +0 -1
  141. package/reference/autogen/packages/uploads-runtime.md +3 -3
  142. package/reference/autogen/packages/users-core.md +45 -90
  143. package/reference/autogen/packages/users-web.md +5 -7
  144. package/reference/autogen/packages/workspaces-core.md +53 -74
  145. package/reference/autogen/packages/workspaces-web.md +15 -16
  146. package/reference/autogen/tooling/jskit-catalog.md +34 -0
  147. package/reference/autogen/tooling/testUtils.md +4 -4
  148. package/skills/jskit/SKILL.md +36 -28
  149. package/skills/jskit/agents/openai.yaml +2 -2
  150. package/skills/jskit/references/app-operations.md +68 -53
  151. package/skills/jskit/references/crud-operations.md +58 -106
  152. package/skills/jskit/references/material-3.md +105 -0
  153. package/skills/jskit/references/ui-operations.md +41 -44
  154. package/templates/app/AGENTS.md +7 -3
  155. package/guide/agent/app-setup/upgrade-beta-1-to-final.md +0 -252
  156. package/guide/agent/app-setup/working-with-the-jskit-cli.md +0 -325
  157. package/guide/agent/generators/advanced-cruds.md +0 -1935
  158. package/guide/agent/generators/crud-generators.md +0 -948
  159. package/guide/agent/generators/intro.md +0 -65
  160. package/guide/agent/generators/row-policies.md +0 -537
  161. package/guide/agent/generators/ui-generators.md +0 -690
  162. package/patterns/crud-scaffolding.md +0 -198
  163. package/patterns/generated-ui-contract-tracking.md +0 -66
  164. package/reference/autogen/packages/assistant.md +0 -68
  165. package/reference/autogen/packages/crud-server-generator.md +0 -215
  166. package/reference/autogen/packages/crud-ui-generator.md +0 -192
  167. package/reference/autogen/packages/feature-server-generator.md +0 -65
  168. package/reference/autogen/packages/ui-generator.md +0 -127
  169. package/reference/autogen/tooling/create-app.md +0 -317
  170. package/reference/autogen/tooling/jskit-cli.md +0 -933
  171. package/reference/autogen/tooling/test-support.md +0 -27
@@ -1,192 +0,0 @@
1
- # packages/crud-ui-generator
2
-
3
- Generated by `npm run agent-docs:build`.
4
- Do not edit manually.
5
-
6
- Generated inventory for `packages/crud-ui-generator`.
7
- Use this on demand; do not load the full index at startup.
8
-
9
- ## Scope
10
- - Source: `packages/crud-ui-generator/**/*{.js,.mjs,.cjs,.vue}`
11
- - Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
12
-
13
- ## Sections
14
-
15
- ### src
16
-
17
- ### `src/server/buildTemplateContext.js`
18
- Exports
19
- - `buildUiTemplateContext({ appRoot, options } = {})`
20
- Local functions
21
- - `resolveAllowedValues(schema = {}, fallbackValues = [])`
22
- - `splitTextIntoWords(value = "")`
23
- - `wordsToKebab(words = [])`
24
- - `wordsToTitle(words = [])`
25
- - `toSingularKebab(value = "")`
26
- - `toPluralKebab(value = "")`
27
- - `toTitleFromKebab(value = "", fallback = "")`
28
- - `buildCrudListCopy(resourceLabels = {})`
29
- - `normalizeRelativeAppPath(value = "")`
30
- - `requireTargetRootOption(options = {})`
31
- - `resolveListTargetFile(targetRoot = "")`
32
- - `resolveFormHelperPaths(targetRoot = "")`
33
- - `parseOperationsOption(options)`
34
- - `parseDisplayFieldsOption(options)`
35
- - `parseParentTitleOption(options)`
36
- - `resolveBooleanFlagOption(options = {}, optionName = "")`
37
- - `shouldCreateNavigationLink(options = {}, inferenceContext = {})`
38
- - `resolveNavigationRoleLinkPlacement(options = {}, inferenceContext = {})`
39
- - `validateDisplayFieldsForOperation(selectedFieldKeys, fields, operationName)`
40
- - `filterDisplayFields(selectedFieldKeys, fields)`
41
- - `rewriteGeneratedBlockIndent(source = "", { trimPrefix = "", addPrefix = "" } = {})`
42
- - `hasLookupFormFields(fields = [])`
43
- - `hasLookupDisplayFields(fields = [])`
44
- - `buildListCardSlotProps(fields = [])`
45
- - `buildListRowSlotProps(fields = [])`
46
- - `buildCrudFieldsSlotProps(fields = [], { includeMode = false } = {})`
47
- - `buildLookupImportLine(fields = [])`
48
- - `buildLookupRuntimeSetup(fields = [], { formFieldsVariable = "", resourceNamespace = "", mode = "" } = {})`
49
- - `buildLookupFormProps(fields = [], { sourcePrefix = "" } = {})`
50
- - `buildLookupFormPropDefinitions({ createFields = [], editFields = [] } = {})`
51
- - `filterDefaultHiddenListFields(selectedFieldKeys, fields, { recordIdFieldKey = "" } = {})`
52
- - `ensureFields(fields, fallbackFields = createFieldDefinitions({}))`
53
- - `resolveViewTitleFallbackFieldKey(fields = [], { recordIdFieldKey = "" } = {})`
54
- - `resolveResourceNamespace(resource = {}, pageTarget = {}, options = {})`
55
- - `resolveResourceLabels(namespace = "", pageTarget = {})`
56
- - `resolveTargetRootRelativeRoutePath(pageTarget = {})`
57
- - `resolveNavigationInferenceRoutePath(pageTarget = {})`
58
- - `resolveMenuToPropLine(linkTo = "")`
59
- - `resolveMenuOwnerLine(owner = "")`
60
- - `buildMenuAppendBlock({ hasListOperation = false, menuMarker = "", pageLinkTarget = null, pageTarget = {} } = {})`
61
- - `resolveCrudRelativePath(namespace = "")`
62
- - `buildListParentTitleImportLine(parentTitleMode = "contextual")`
63
- - `buildListHeadingTitleSetup({ parentTitleMode = "contextual", resourceNamespace = "", routeTitle = "Records" } = {})`
64
- - `buildViewDeleteActionSlot({ resourceSingularTitle = "Record" } = {})`
65
- - `buildViewDeleteSetup({ resourceNamespace = "resource" } = {})`
66
-
67
- ### `src/server/resourceSupport.js`
68
- Exports
69
- - `normalizeText`
70
- - `requireOption(options, optionName, { context = "ui-generator" } = {})`
71
- - `resolveResourceModulePath(appRoot, resourceFile, { context = "ui-generator" } = {})`
72
- - `loadResourceDefinition({ appRoot, options = {}, context = "ui-generator" } = {})`
73
- - `requireOperation(resource, operationName, { context = "ui-generator" } = {})`
74
- - `resolveOperationRealtimeEvents(operation = {}, { defaultEvents = [], context = "ui-generator" } = {})`
75
- - `requireOutputSchema(operation, operationName, { context = "ui-generator" } = {})`
76
- - `requireBodySchema(operation, operationName, { context = "ui-generator" } = {})`
77
- - `requireObjectProperties(schema, contextLabel, { context = "ui-generator", rootSchema = schema } = {})`
78
- - `resolveListItemProperties(listOutputSchema, { context = "ui-generator" } = {})`
79
- - `resolveLookupContainerKey(resource = {}, { context = "ui-generator" } = {})`
80
- - `buildResourceFieldContractMap(resource = {})`
81
- - `createFieldDefinitions(properties = {}, { fieldContractMap = {}, lookupContainerKey = "lookups" } = {})`
82
- - `createFormFieldDefinitions(properties = {}, { fieldContractMap = {}, lookupContainerKey = "lookups", parentRouteParamKey = "" } = {})`
83
- - `resolveNearestParentRouteParamKey(routePath = "", { recordIdParam = "recordId" } = {})`
84
- - `buildListHeaderColumns(fields = [])`
85
- - `buildListRowColumns(fields = [])`
86
- - `buildListCardFields(fields = [])`
87
- - `buildViewColumns(fields = [])`
88
- - `buildFormColumns(fields = [])`
89
- - `resolveRecordIdFieldKey(fields = [])`
90
- - `renderObjectArrayEntryLines(entries = [], { indent = " " } = {})`
91
- - `resolveRecordChangedEventName`
92
- - `resolveRecordIdExpression(fields = [])`
93
- Local functions
94
- - `normalizeRealtimeEventList(events = [])`
95
- - `resolveOperationTransportSchema(definition, { context = "ui-generator", defaultMode = "replace", label = "schema definition" } = {})`
96
- - `resolveUnionSchemaVariant(schema = {})`
97
- - `decodeJsonPointerSegment(segment = "")`
98
- - `resolveSchemaReference(ref = "", rootSchema = {}, { context = "ui-generator", contextLabel = "schema" } = {})`
99
- - `resolveObjectSchema(schema = {}, contextLabel, { context = "ui-generator", rootSchema = schema } = {})`
100
- - `resolveJsonRestCastType(schema = {})`
101
- - `resolveTemporalPrecision(...schemas)`
102
- - `resolveSchemaType(schema)`
103
- - `toFieldLabel(key)`
104
- - `isSupportedSelectOptionValue(value)`
105
- - `toSelectOptionLabel(value)`
106
- - `toSelectOptionIdentity(value)`
107
- - `normalizeFieldUiOptions(rawOptions, { context = "resource field ui.options" } = {})`
108
- - `stripLookupIdSuffix(key = "")`
109
- - `resolveFieldLabel(key = "", relation = null)`
110
- - `extractDynamicRouteParamKeys(routePath = "")`
111
- - `normalizeLookupRelation(relation = {})`
112
- - `toLookupRelation(fieldContractMap = {}, fieldKey = "", { lookupContainerKey = "lookups" } = {})`
113
- - `resolveFormInputType(fieldType, fieldFormat)`
114
- - `resolveFormFieldComponent(fieldType, relation = null)`
115
- - `resolveTemporalInputStep(field = {})`
116
- - `buildDefaultNullableBooleanOptions()`
117
- - `toPositiveInteger(value)`
118
- - `toAccessorExpression(baseName, fieldKey)`
119
- - `toOptionalAccessorExpression(baseName, fieldKey)`
120
- - `escapeHtml(value)`
121
- - `serializeTemplateBindingValue(value)`
122
- - `renderTemplateJsStringLiteral(value)`
123
- - `isLookupField(field = {})`
124
- - `toLookupDisplayFieldDescriptor(field = {})`
125
- - `toLookupDisplayFieldExpression(field = {})`
126
-
127
- ### `src/server/subcommands/addField.js`
128
- Exports
129
- - `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
130
- Local functions
131
- - `toPosixPath(value = "")`
132
- - `resolveOperation(rawOperation = "")`
133
- - `resolveTargetFilePath(appRoot, targetFile)`
134
- - `resolvePathWithinAppRoot(appRoot, absolutePath)`
135
- - `inferResourceOptionsFromSource(screenSource = "")`
136
- - `resolveResourceOptions(options = {}, inferredOptions = {})`
137
- - `resolveOperationFields(resource, operationName)`
138
- - `resolveFieldDefinition(fields = [], fieldKey = "")`
139
- - `insertBeforeAnchor(source, { anchor = "", snippet = "" } = {})`
140
- - `findMatchingDelimiter(sourceText = "", openIndex = -1, openChar = "[", closeChar = "]")`
141
- - `resolveAnchorLineIndex(sourceText = "", anchor = "")`
142
- - `findArrayDeclarationBeforeIndex(sourceText = "", arrayName = "", index = -1)`
143
- - `insertFormFieldDefinition(source, insertion = {})`
144
- - `resolveAnchorScopeStart(source = "", { anchorIndex = -1, anchor = "" } = {})`
145
- - `buildAnchorInsertions(operationName, field)`
146
- - `resolveGeneratedTargetComment(source = "", commentName = "")`
147
- - `resolveGeneratedTargetPath(appRoot, targetAbsolutePath, generatedTarget = "")`
148
- - `resolveOperationTargetFiles({ appRoot, operationName, targetAbsolutePath, source = "" } = {})`
149
- - `parseSubcommandArgs(args = [])`
150
-
151
- ### templates
152
-
153
- ### `templates/src/pages/admin/ui-generator/AddEditForm.vue`
154
- Exports
155
- - None
156
-
157
- ### `templates/src/pages/admin/ui-generator/AddEditFormFields.js`
158
- Exports
159
- - `UI_CREATE_FORM_FIELDS`
160
- - `UI_EDIT_FORM_FIELDS`
161
-
162
- ### `templates/src/pages/admin/ui-generator/EditElement.vue`
163
- Exports
164
- - None
165
-
166
- ### `templates/src/pages/admin/ui-generator/EditWrapperElement.vue`
167
- Exports
168
- - None
169
-
170
- ### `templates/src/pages/admin/ui-generator/listBulkActions.js`
171
- Exports
172
- - `listBulkActions`
173
-
174
- ### `templates/src/pages/admin/ui-generator/ListElement.vue`
175
- Exports
176
- - None
177
-
178
- ### `templates/src/pages/admin/ui-generator/listFilters.js`
179
- Exports
180
- - `listFilters`
181
-
182
- ### `templates/src/pages/admin/ui-generator/NewElement.vue`
183
- Exports
184
- - None
185
-
186
- ### `templates/src/pages/admin/ui-generator/NewWrapperElement.vue`
187
- Exports
188
- - None
189
-
190
- ### `templates/src/pages/admin/ui-generator/ViewElement.vue`
191
- Exports
192
- - None
@@ -1,65 +0,0 @@
1
- # packages/feature-server-generator
2
-
3
- Generated by `npm run agent-docs:build`.
4
- Do not edit manually.
5
-
6
- Generated inventory for `packages/feature-server-generator`.
7
- Use this on demand; do not load the full index at startup.
8
-
9
- ## Scope
10
- - Source: `packages/feature-server-generator/**/*{.js,.mjs,.cjs,.vue}`
11
- - Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
12
-
13
- ## Sections
14
-
15
- ### src
16
-
17
- ### `src/server/buildTemplateContext.js`
18
- Exports
19
- - `buildTemplateContext({ options = {} } = {})`
20
- Local functions
21
- - `runtimeDependencyVersion(packageName)`
22
- - `splitTextIntoWords(value)`
23
- - `wordsToPascal(words = [])`
24
- - `wordsToKebab(words = [])`
25
- - `wordsToCamel(words = [])`
26
- - `normalizeFeatureName(value)`
27
- - `normalizeSurfaceId(value)`
28
- - `normalizeRoutePrefix(value)`
29
- - `quoteArray(values = [])`
30
- - `buildProviderContext({ featureName, mode, routePrefix, surface })`
31
- - `buildActionsContext({ surface })`
32
- - `buildServiceContext({ featureName, mode })`
33
- - `buildRouteContext({ surface })`
34
- - `buildManifestContext({ featureName, mode })`
35
-
36
- ### templates
37
-
38
- ### `templates/src/local-package/server/actions.js`
39
- Exports
40
- - `featureActions`
41
-
42
- ### `templates/src/local-package/server/FeatureProvider.js`
43
- Exports
44
- - `${option:feature-name|pascal`
45
-
46
- ### `templates/src/local-package/server/inputSchemas.js`
47
- Exports
48
- - `statusQueryInputValidator`
49
- - `executeCommandInputValidator`
50
-
51
- ### `templates/src/local-package/server/registerRoutes.js`
52
- Exports
53
- - `registerRoutes(app, { routeSurface = "", routeRelativePath = "" } = {})`
54
-
55
- ### `templates/src/local-package/server/repositoryCustomKnex.js`
56
- Exports
57
- - `createRepository({ knex } = {})`
58
-
59
- ### `templates/src/local-package/server/repositoryJsonRest.js`
60
- Exports
61
- - `createRepository({ api } = {})`
62
-
63
- ### `templates/src/local-package/server/service.js`
64
- Exports
65
- - `createService({ featureRepository } = {})`
@@ -1,127 +0,0 @@
1
- # packages/ui-generator
2
-
3
- Generated by `npm run agent-docs:build`.
4
- Do not edit manually.
5
-
6
- Generated inventory for `packages/ui-generator`.
7
- Use this on demand; do not load the full index at startup.
8
-
9
- ## Scope
10
- - Source: `packages/ui-generator/**/*{.js,.mjs,.cjs,.vue}`
11
- - Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
12
-
13
- ## Sections
14
-
15
- ### src
16
-
17
- ### `src/server/buildTemplateContext.js`
18
- Exports
19
- - `buildUiPageTemplateContext({ appRoot, targetFile = "", options = {} } = {})`
20
- - `normalizeNavigationRole`
21
- - `resolveNavigationInferenceRoutePath(pageTarget = {})`
22
- - `resolveNavigationRoleLinkPlacement(options = {}, inferenceContext = {})`
23
- - `shouldCreateNavigationLink(options = {}, inferenceContext = {})`
24
- Local functions
25
- - `resolveLinkToPropLine(linkTo = "")`
26
- - `resolveOwnerLine(owner = "")`
27
-
28
- ### `src/server/subcommands/addSubpages.js`
29
- Exports
30
- - `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
31
- Local functions
32
- - `resolveOutletOwner(target = "")`
33
- - `renderSectionNavTopologyBlock({ marker = "", owner = "", surface = "", target = "" } = {})`
34
- - `resolveSubpagesOutletTarget(options = {}, pageTarget = {})`
35
-
36
- ### `src/server/subcommands/element.js`
37
- Exports
38
- - `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
39
- Local functions
40
- - `renderElementComponentSource(elementName = "")`
41
- - `resolvePlacedElementSurface({ appRoot, placementTarget = {}, surface = "", context = "ui-generator placed-element" } = {})`
42
-
43
- ### `src/server/subcommands/outlet.js`
44
- Exports
45
- - `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
46
- Local functions
47
- - `hasShellOutletTarget(source = "", { target = "" } = {})`
48
- - `applyScriptImports(source = "")`
49
- - `createOutletBlock({ target = "" } = {})`
50
- - `resolveOutletOwner(target = "")`
51
- - `resolveSemanticPlacementOption(options = {}, { context = "ui-generator outlet" } = {})`
52
- - `resolveOptionalSemanticPlacementOption(options = {}, { context = "ui-generator outlet" } = {})`
53
- - `resolveVariantOwners(variantTargets = {})`
54
- - `resolveSemanticPlacementOwner({ placementId = "", targetId = "", variantTargets = null, owner = "", context = "ui-generator outlet" } = {})`
55
- - `resolveTopologyKind(options = {}, { context = "ui-generator outlet", defaultKind = "", required = false } = {})`
56
- - `resolveTopologyVariantTargets(options = {}, { context = "ui-generator topology", fallbackTarget = "" } = {})`
57
- - `hasTopologyOptions(options = {})`
58
- - `resolveTopologySurfaces(options = {})`
59
- - `renderTopologyOwnerLine(owner = "")`
60
- - `renderLinkRendererBlock(rendererToken = "")`
61
- - `renderTopologyVariantBlock({ layoutClass = "", target = "", kind = "", rendererToken = "" } = {})`
62
- - `renderOutletTopologyBlock({ marker = "", placementId = "", owner = "", surfaces = ["*"], description = "", target = "", variantTargets = null, kind = "link", rendererToken = "" } = {})`
63
- - `findLastTemplateCloseTag(source = "")`
64
- - `applyOutletTemplateBlock(source = "", { target = "" } = {})`
65
- - `prepareTopologyBlock({ appRoot, topologyPath = null, context = "ui-generator topology", placementId = "", owner = "", surfaces = ["*"], description = "", target = "", variantTargets = null, kind = "", rendererToken = "" } = {})`
66
- - `applyTopologyBlock(options = {})`
67
- - `runTopologySubcommand({ appRoot, options = {}, dryRun = false } = {})`
68
-
69
- ### `src/server/subcommands/page.js`
70
- Exports
71
- - `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
72
- Local functions
73
- - `renderPageLinkPlacementBlock({ marker = "", context = {}, label = "", surface = "" } = {})`
74
-
75
- ### `src/server/subcommands/pageSupport.js`
76
- Exports
77
- - `DEFAULT_SUBPAGES_POSITION`
78
- - `DEFAULT_COMPONENT_DIRECTORY`
79
- - `SECTION_CONTAINER_SHELL_COMPONENT`
80
- - `SUBPAGES_LINK_COMPONENT`
81
- - `SUBPAGES_LINK_COMPONENT_TOKEN`
82
- - `resolvePageTargetDetails`
83
- - `resolveNearestParentSubpagesHost`
84
- - `deriveDefaultSubpagesHost`
85
- - `renderPlainPageSource(pageTitle = "", { surfaceId = "", routePath = "" } = {})`
86
- - `ensureSubpagesSupportScaffold({ appRoot, componentDirectory = DEFAULT_COMPONENT_DIRECTORY, dryRun = false } = {})`
87
- - `applySubpagesUpgradeToPageSource(source = "", { target = "", title = "", subtitle = "", sectionContainerComponentImportPath = "/src/components/SectionContainerShell.vue", preserveExistingContent = true } = {})`
88
- - `upgradePageFileToSubpages({ appRoot, targetFile, target = "", title = "", subtitle = "", componentDirectory = DEFAULT_COMPONENT_DIRECTORY, preserveExistingContent = true, dryRun = false } = {})`
89
- Local functions
90
- - `resolveGeneratedPageSurfaceProfile({ surfaceId = "", routePath = "" } = {})`
91
- - `trimEdgeBlankLines(source = "")`
92
- - `renderSectionContainerShellSource()`
93
- - `findTemplateBlock(source = "")`
94
- - `unwrapSectionContainerShell(source = "")`
95
- - `stripExistingSubpagesStructure(source = "")`
96
- - `renderSectionContainerOpenTag({ title = "", subtitle = "" } = {})`
97
- - `renderSubpagesTemplate({ bodyContent = "", title = "", subtitle = "", target = "" } = {})`
98
- - `applySubpagesScriptImports(source = "", { sectionContainerComponentImportPath = "" } = {})`
99
- - `hasExistingSubpagesRouting(source = "")`
100
-
101
- ### `src/server/subcommands/support.js`
102
- Exports
103
- - `DEFAULT_COMPONENT_DIRECTORY`
104
- - `MAIN_CLIENT_PROVIDER_FILE`
105
- - `PLACEMENT_FILE`
106
- - `PLACEMENT_TOPOLOGY_FILE`
107
- - `toKebabCase(value = "")`
108
- - `toPascalCase(value = "")`
109
- - `requireOption(options = {}, optionName = "", { context = "ui-generator" } = {})`
110
- - `requireSinglePositionalTargetFile(args = [], { context = "ui-generator" } = {})`
111
- - `resolveOutletTargetId(rawTarget = "", { context = "ui-generator", optionName = "target" } = {})`
112
- - `rejectUnexpectedOptions(options = {}, allowedOptionNames = [], { context = "ui-generator" } = {})`
113
- - `resolvePathWithinApp(appRoot, targetPath, { context = "ui-generator" } = {})`
114
- - `ensureTrailingNewline(value = "")`
115
- - `appendBlockIfMarkerMissing(source = "", marker = "", block = "")`
116
- - `insertImportIfMissing(source = "", importLine = "")`
117
- - `insertBeforeClassDeclaration(source = "", line = "", { className = "", contextFile = "" } = {})`
118
- - `findScriptSetupBlock(source = "")`
119
- - `insertScriptSetupBlock(source = "", content = "")`
120
- - `appendTopologyBlockIfPlacementMissing({ topologyPath = {}, source = "", marker = "", block = "", placementId = "", owner = "", variantTargets = null, context = "ui-generator topology" } = {})`
121
- - `parseTagAttributes(attributesSource = "")`
122
- - `indentBlock(source = "", indent = "")`
123
- Local functions
124
- - `loadPlacementTopologyDefinitionFromPath(topologyPath = {}, { context = "ui-generator topology" } = {})`
125
- - `normalizeExpectedTopologyVariantTargets(variantTargets = null)`
126
- - `describeTopologyVariantTargets(variantTargets = {})`
127
- - `placementMatchesExpectedVariantTargets(placement = {}, expectedVariantTargets = null)`