@undefineds.co/xpod 0.4.10 → 0.4.12

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 (402) hide show
  1. package/config/components-ignore.json +5 -1
  2. package/config/notifications.json +68 -0
  3. package/config/xpod.base.json +9 -11
  4. package/dist/ai/service/AiCredentialSecret.d.ts +30 -0
  5. package/dist/ai/service/AiCredentialSecret.js +120 -0
  6. package/dist/ai/service/CredentialReaderImpl.d.ts +18 -0
  7. package/dist/ai/service/CredentialReaderImpl.js +81 -5
  8. package/dist/ai/service/CredentialReaderImpl.jsonld +42 -2
  9. package/dist/ai/service/EmbeddingModelPolicy.d.ts +79 -0
  10. package/dist/ai/service/EmbeddingModelPolicy.js +134 -0
  11. package/dist/ai/service/EmbeddingProviderError.js +6 -0
  12. package/dist/ai/service/EmbeddingServiceImpl.d.ts +13 -1
  13. package/dist/ai/service/EmbeddingServiceImpl.js +18 -5
  14. package/dist/ai/service/EmbeddingServiceImpl.jsonld +35 -0
  15. package/dist/ai/service/index.d.ts +2 -0
  16. package/dist/ai/service/index.js +2 -0
  17. package/dist/api/ai-gateway/connect/index.d.ts +20 -2
  18. package/dist/api/ai-gateway/connect/index.js +162 -16
  19. package/dist/api/ai-gateway/credentials/AiCredentialSecretDecoder.d.ts +12 -0
  20. package/dist/api/ai-gateway/credentials/AiCredentialSecretDecoder.js +30 -0
  21. package/dist/api/ai-gateway/errors.d.ts +1 -1
  22. package/dist/api/ai-gateway/models/GatewayEmbeddingModelCatalog.d.ts +11 -0
  23. package/dist/api/ai-gateway/models/GatewayEmbeddingModelCatalog.js +31 -0
  24. package/dist/api/ai-gateway/models/PodModelSelectionRepository.js +7 -3
  25. package/dist/api/ai-gateway/models/ProviderCustomModelsService.d.ts +18 -0
  26. package/dist/api/ai-gateway/models/ProviderCustomModelsService.js +23 -0
  27. package/dist/api/ai-gateway/models/ProviderModelDiscoveryAdapters.d.ts +3 -1
  28. package/dist/api/ai-gateway/models/ProviderModelDiscoveryAdapters.js +2 -45
  29. package/dist/api/ai-gateway/models/ProviderModelSelectionService.d.ts +10 -0
  30. package/dist/api/ai-gateway/models/ProviderModelSelectionService.js +57 -20
  31. package/dist/api/ai-gateway/models/ProviderModelType.d.ts +28 -0
  32. package/dist/api/ai-gateway/models/ProviderModelType.js +34 -0
  33. package/dist/api/ai-gateway/models/ProviderModelsAdapter.d.ts +10 -0
  34. package/dist/api/ai-gateway/models/ProviderModelsAdapter.js +3 -4
  35. package/dist/api/ai-gateway/models/index.d.ts +1 -0
  36. package/dist/api/ai-gateway/models/index.js +3 -1
  37. package/dist/api/ai-gateway/providers/CustomRuntimeAdapter.d.ts +7 -0
  38. package/dist/api/ai-gateway/providers/CustomRuntimeAdapter.js +9 -2
  39. package/dist/api/ai-gateway/providers/ModelsDevCatalog.d.ts +7 -1
  40. package/dist/api/ai-gateway/providers/ModelsDevCatalog.js +4 -10
  41. package/dist/api/ai-gateway/providers/ProviderRegistry.d.ts +107 -0
  42. package/dist/api/ai-gateway/providers/ProviderRegistry.js +244 -21
  43. package/dist/api/ai-gateway/providers/ProviderRuntimeRegistry.d.ts +5 -0
  44. package/dist/api/ai-gateway/providers/ProviderRuntimeRegistry.js +5 -1
  45. package/dist/api/ai-gateway/quota/SubscriptionQuotaAdapters.d.ts +12 -4
  46. package/dist/api/ai-gateway/quota/SubscriptionQuotaAdapters.js +11 -11
  47. package/dist/api/ai-gateway/routing/ModelRouter.d.ts +14 -0
  48. package/dist/api/ai-gateway/routing/ModelRouter.js +43 -4
  49. package/dist/api/ai-gateway/service-access/AiConnectionsServiceAccess.d.ts +9 -1
  50. package/dist/api/ai-gateway/service-access/AiConnectionsServiceAccess.js +3 -27
  51. package/dist/api/auth/ClientCredentialsAuthenticator.d.ts +0 -1
  52. package/dist/api/auth/ClientCredentialsAuthenticator.js +0 -3
  53. package/dist/api/auth/index.d.ts +1 -0
  54. package/dist/api/auth/index.js +1 -1
  55. package/dist/api/chatkit/pod-store.d.ts +31 -0
  56. package/dist/api/chatkit/pod-store.js +132 -8
  57. package/dist/api/container/common.js +24 -4
  58. package/dist/api/container/routes.js +17 -2
  59. package/dist/api/container/types.d.ts +3 -1
  60. package/dist/api/handlers/AdminHandler.d.ts +13 -0
  61. package/dist/api/handlers/AdminHandler.js +47 -18
  62. package/dist/api/handlers/AiConfigHandler.d.ts +6 -0
  63. package/dist/api/handlers/AiConfigHandler.js +28 -0
  64. package/dist/api/handlers/AiGatewayManagementHandler.js +36 -0
  65. package/dist/api/runs/RdfRunContextRetriever.d.ts +14 -0
  66. package/dist/api/runs/RdfRunContextRetriever.js +41 -5
  67. package/dist/api/runtime.js +2 -1
  68. package/dist/cli/commands/secret.d.ts +1 -0
  69. package/dist/cli/commands/secret.js +25 -7
  70. package/dist/components/components.jsonld +3 -1
  71. package/dist/components/context.jsonld +53 -1
  72. package/dist/http/SubgraphSparqlHttpHandler.d.ts +59 -2
  73. package/dist/http/SubgraphSparqlHttpHandler.js +145 -13
  74. package/dist/http/SubgraphSparqlHttpHandler.jsonld +37 -0
  75. package/dist/identity/drizzle/AccountRoleRepository.d.ts +30 -2
  76. package/dist/identity/drizzle/AccountRoleRepository.js +163 -15
  77. package/dist/identity/drizzle/EdgeNodeRepository.d.ts +0 -12
  78. package/dist/identity/drizzle/EdgeNodeRepository.js +5 -13
  79. package/dist/identity/drizzle/PodLookupRepository.d.ts +58 -4
  80. package/dist/identity/drizzle/PodLookupRepository.js +248 -105
  81. package/dist/identity/drizzle/db.d.ts +19 -0
  82. package/dist/identity/drizzle/db.js +39 -4
  83. package/dist/index.d.ts +2 -1
  84. package/dist/index.js +7 -3
  85. package/dist/logging/log-file.d.ts +17 -0
  86. package/dist/logging/log-file.js +69 -0
  87. package/dist/main.js +2 -1
  88. package/dist/notifications/NotificationChannelSweeper.d.ts +50 -0
  89. package/dist/notifications/NotificationChannelSweeper.js +131 -0
  90. package/dist/notifications/NotificationChannelSweeper.jsonld +136 -0
  91. package/dist/notifications/ReclaimingWebSocket2023Storer.d.ts +25 -0
  92. package/dist/notifications/ReclaimingWebSocket2023Storer.js +56 -0
  93. package/dist/notifications/ReclaimingWebSocket2023Storer.jsonld +77 -0
  94. package/dist/notifications/index.d.ts +2 -0
  95. package/dist/notifications/index.js +2 -0
  96. package/dist/runtime/Proxy.d.ts +37 -0
  97. package/dist/runtime/Proxy.js +88 -16
  98. package/dist/runtime/bootstrap.js +2 -1
  99. package/dist/runtime/upgrade/BunNativeUpgradeRelay.d.ts +116 -0
  100. package/dist/runtime/upgrade/BunNativeUpgradeRelay.js +423 -0
  101. package/dist/runtime/upgrade/UpgradeHandshake.d.ts +63 -0
  102. package/dist/runtime/upgrade/UpgradeHandshake.js +199 -0
  103. package/dist/runtime/upgrade/WebSocketFrames.d.ts +67 -0
  104. package/dist/runtime/upgrade/WebSocketFrames.js +224 -0
  105. package/node_modules/@undefineds.co/ai-connections/dist/AiApiKeyPool.js +8 -1
  106. package/node_modules/@undefineds.co/ai-connections/dist/AiAuthorizationActions.d.ts +11 -2
  107. package/node_modules/@undefineds.co/ai-connections/dist/AiAuthorizationActions.js +27 -10
  108. package/node_modules/@undefineds.co/ai-connections/dist/AiClientConfigurationSection.d.ts +7 -0
  109. package/node_modules/@undefineds.co/ai-connections/dist/AiClientConfigurationSection.js +13 -11
  110. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectDialog.js +1 -1
  111. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsList.js +10 -6
  112. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsMain.d.ts +15 -0
  113. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsMain.js +29 -3
  114. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsMainHeader.js +18 -3
  115. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsPanel.d.ts +16 -1
  116. package/node_modules/@undefineds.co/ai-connections/dist/AiConnectionsPanel.js +92 -20
  117. package/node_modules/@undefineds.co/ai-connections/dist/AiCopyButton.d.ts +35 -0
  118. package/node_modules/@undefineds.co/ai-connections/dist/AiCopyButton.js +45 -0
  119. package/node_modules/@undefineds.co/ai-connections/dist/AiCredentialPoolSection.js +71 -11
  120. package/node_modules/@undefineds.co/ai-connections/dist/AiCredentialRow.js +9 -7
  121. package/node_modules/@undefineds.co/ai-connections/dist/AiEndpointList.d.ts +23 -0
  122. package/node_modules/@undefineds.co/ai-connections/dist/AiEndpointList.js +24 -0
  123. package/node_modules/@undefineds.co/ai-connections/dist/AiGatewayKeysSection.d.ts +13 -4
  124. package/node_modules/@undefineds.co/ai-connections/dist/AiGatewayKeysSection.js +35 -38
  125. package/node_modules/@undefineds.co/ai-connections/dist/AiGatewayModelsSection.d.ts +21 -0
  126. package/node_modules/@undefineds.co/ai-connections/dist/AiGatewayModelsSection.js +51 -0
  127. package/node_modules/@undefineds.co/ai-connections/dist/AiInfoTooltip.d.ts +15 -0
  128. package/node_modules/@undefineds.co/ai-connections/dist/AiInfoTooltip.js +16 -0
  129. package/node_modules/@undefineds.co/ai-connections/dist/AiModelCatalog.d.ts +175 -0
  130. package/node_modules/@undefineds.co/ai-connections/dist/AiModelCatalog.js +133 -0
  131. package/node_modules/@undefineds.co/ai-connections/dist/AiOfferingDetails.js +2 -2
  132. package/node_modules/@undefineds.co/ai-connections/dist/AiProviderCard.js +13 -64
  133. package/node_modules/@undefineds.co/ai-connections/dist/AiProviderHeader.d.ts +21 -0
  134. package/node_modules/@undefineds.co/ai-connections/dist/AiProviderHeader.js +12 -0
  135. package/node_modules/@undefineds.co/ai-connections/dist/AiRowAction.d.ts +15 -0
  136. package/node_modules/@undefineds.co/ai-connections/dist/AiRowAction.js +12 -0
  137. package/node_modules/@undefineds.co/ai-connections/dist/AiSortableCredentialList.js +2 -1
  138. package/node_modules/@undefineds.co/ai-connections/dist/ai-connections-client.d.ts +7 -0
  139. package/node_modules/@undefineds.co/ai-connections/dist/ai-connections-client.js +6 -0
  140. package/node_modules/@undefineds.co/ai-connections/dist/authorization-methods.d.ts +36 -5
  141. package/node_modules/@undefineds.co/ai-connections/dist/authorization-methods.js +52 -9
  142. package/node_modules/@undefineds.co/ai-connections/dist/client/normalize.js +30 -3
  143. package/node_modules/@undefineds.co/ai-connections/dist/client/types.d.ts +21 -1
  144. package/node_modules/@undefineds.co/ai-connections/dist/client-config/base-adapter.d.ts +1 -3
  145. package/node_modules/@undefineds.co/ai-connections/dist/client-config/base-adapter.js +3 -7
  146. package/node_modules/@undefineds.co/ai-connections/dist/client-config/index.cjs +9 -7
  147. package/node_modules/@undefineds.co/ai-connections/dist/collection-runtime.d.ts +46 -0
  148. package/node_modules/@undefineds.co/ai-connections/dist/collection-runtime.js +231 -0
  149. package/node_modules/@undefineds.co/ai-connections/dist/collections.d.ts +119 -0
  150. package/node_modules/@undefineds.co/ai-connections/dist/collections.js +173 -0
  151. package/node_modules/@undefineds.co/ai-connections/dist/controller.d.ts +71 -5
  152. package/node_modules/@undefineds.co/ai-connections/dist/controller.js +285 -16
  153. package/node_modules/@undefineds.co/ai-connections/dist/credential-labels.d.ts +5 -0
  154. package/node_modules/@undefineds.co/ai-connections/dist/credential-labels.js +8 -3
  155. package/node_modules/@undefineds.co/ai-connections/dist/credential-storage.d.ts +59 -0
  156. package/node_modules/@undefineds.co/ai-connections/dist/credential-storage.js +131 -0
  157. package/node_modules/@undefineds.co/ai-connections/dist/endpoint-urls.d.ts +15 -0
  158. package/node_modules/@undefineds.co/ai-connections/dist/endpoint-urls.js +20 -0
  159. package/node_modules/@undefineds.co/ai-connections/dist/gateway-endpoints.d.ts +14 -0
  160. package/node_modules/@undefineds.co/ai-connections/dist/gateway-endpoints.js +20 -0
  161. package/node_modules/@undefineds.co/ai-connections/dist/index.d.ts +8 -0
  162. package/node_modules/@undefineds.co/ai-connections/dist/index.js +8 -0
  163. package/node_modules/@undefineds.co/ai-connections/dist/manifest.js +1 -1
  164. package/node_modules/@undefineds.co/ai-connections/dist/offering-endpoints.d.ts +14 -0
  165. package/node_modules/@undefineds.co/ai-connections/dist/offering-endpoints.js +17 -0
  166. package/node_modules/@undefineds.co/ai-connections/dist/provider-catalog.cjs +68 -1
  167. package/node_modules/@undefineds.co/ai-connections/dist/provider-catalog.d.ts +75 -1
  168. package/node_modules/@undefineds.co/ai-connections/dist/provider-catalog.js +119 -0
  169. package/node_modules/@undefineds.co/ai-connections/dist/provider-visuals.d.ts +5 -0
  170. package/node_modules/@undefineds.co/ai-connections/dist/provider-visuals.js +5 -0
  171. package/node_modules/@undefineds.co/ai-connections/dist/service-access.js +2 -27
  172. package/node_modules/@undefineds.co/ai-connections/package.json +1 -0
  173. package/node_modules/@undefineds.co/extension-sdk/dist/manifest.d.ts +1 -1
  174. package/node_modules/@undefineds.co/extension-sdk/dist/manifest.js +2 -0
  175. package/node_modules/@undefineds.co/extension-sdk/dist/web.d.ts +150 -0
  176. package/node_modules/@undefineds.co/extension-sdk/package.json +2 -1
  177. package/node_modules/@undefineds.co/models/README.md +1 -1
  178. package/node_modules/@undefineds.co/models/dist/ai-config/index.d.ts +3 -3
  179. package/node_modules/@undefineds.co/models/dist/ai-gateway.schema.d.ts +5 -0
  180. package/node_modules/@undefineds.co/models/dist/ai-gateway.schema.js +9 -0
  181. package/node_modules/@undefineds.co/models/dist/ai-runtime.repository.d.ts +1 -1
  182. package/node_modules/@undefineds.co/models/dist/approval.repository.d.ts +2 -2
  183. package/node_modules/@undefineds.co/models/dist/audit.presentation.d.ts +2 -2
  184. package/node_modules/@undefineds.co/models/dist/capture.repository.d.ts +1 -1
  185. package/node_modules/@undefineds.co/models/dist/chat-project.repository.d.ts +1 -1
  186. package/node_modules/@undefineds.co/models/dist/chat.repository.d.ts +2 -2
  187. package/node_modules/@undefineds.co/models/dist/control-request.repository.d.ts +2 -2
  188. package/node_modules/@undefineds.co/models/dist/conversation-share.repository.d.ts +1 -1
  189. package/node_modules/@undefineds.co/models/dist/credential.schema.d.ts +12 -0
  190. package/node_modules/@undefineds.co/models/dist/credential.schema.js +15 -1
  191. package/node_modules/@undefineds.co/models/dist/discovery/index.d.ts +2 -2
  192. package/node_modules/@undefineds.co/models/dist/discovery/providers.json +248 -7
  193. package/node_modules/@undefineds.co/models/dist/discovery/types.d.ts +31 -0
  194. package/node_modules/@undefineds.co/models/dist/extension/index.d.ts +1 -1
  195. package/node_modules/@undefineds.co/models/dist/favorite/index.d.ts +2 -2
  196. package/node_modules/@undefineds.co/models/dist/fixtures/contracts-chat-contact.d.ts +5 -5
  197. package/node_modules/@undefineds.co/models/dist/import/index.d.ts +1 -1
  198. package/node_modules/@undefineds.co/models/dist/index.d.ts +73 -73
  199. package/node_modules/@undefineds.co/models/dist/index.js +1 -1
  200. package/node_modules/@undefineds.co/models/dist/input-request.repository.d.ts +2 -2
  201. package/node_modules/@undefineds.co/models/dist/knowledge/index.d.ts +1 -1
  202. package/node_modules/@undefineds.co/models/dist/message.repository.d.ts +1 -1
  203. package/node_modules/@undefineds.co/models/dist/namespaces.js +5 -0
  204. package/node_modules/@undefineds.co/models/dist/pod-storage-descriptor.d.ts +4815 -26
  205. package/node_modules/@undefineds.co/models/dist/pod-storage-descriptor.js +482 -132
  206. package/node_modules/@undefineds.co/models/dist/schema.d.ts +4 -0
  207. package/node_modules/@undefineds.co/models/dist/session/index.d.ts +1 -1
  208. package/node_modules/@undefineds.co/models/dist/settings/index.d.ts +1 -1
  209. package/node_modules/@undefineds.co/models/dist/sidecar/persistence-mapping.d.ts +5 -5
  210. package/node_modules/@undefineds.co/models/dist/thread.repository.d.ts +2 -2
  211. package/node_modules/@undefineds.co/models/dist/types/message-block.d.ts +1 -1
  212. package/node_modules/@undefineds.co/models/dist/vocab/_namespaces.d.ts +1 -1
  213. package/node_modules/@undefineds.co/models/dist/vocab/index.d.ts +10 -10
  214. package/node_modules/@undefineds.co/models/dist/vocab/sidecar.vocab.d.ts +1 -0
  215. package/node_modules/@undefineds.co/models/dist/vocab/sidecar.vocab.js +1 -0
  216. package/node_modules/@undefineds.co/models/package.json +4 -2
  217. package/node_modules/@undefineds.co/pod-collections/README.md +71 -0
  218. package/node_modules/@undefineds.co/pod-collections/dist/diff.d.ts +85 -0
  219. package/node_modules/@undefineds.co/pod-collections/dist/diff.js +166 -0
  220. package/node_modules/@undefineds.co/pod-collections/dist/feed.d.ts +17 -0
  221. package/node_modules/@undefineds.co/pod-collections/dist/feed.js +27 -0
  222. package/node_modules/@undefineds.co/pod-collections/dist/index.cjs +1042 -0
  223. package/node_modules/@undefineds.co/pod-collections/dist/index.d.ts +37 -0
  224. package/node_modules/@undefineds.co/pod-collections/dist/index.js +89 -0
  225. package/node_modules/@undefineds.co/pod-collections/dist/layout.d.ts +75 -0
  226. package/node_modules/@undefineds.co/pod-collections/dist/layout.js +173 -0
  227. package/node_modules/@undefineds.co/pod-collections/dist/mapping.d.ts +78 -0
  228. package/node_modules/@undefineds.co/pod-collections/dist/mapping.js +287 -0
  229. package/node_modules/@undefineds.co/pod-collections/dist/mutations.d.ts +83 -0
  230. package/node_modules/@undefineds.co/pod-collections/dist/mutations.js +273 -0
  231. package/node_modules/@undefineds.co/pod-collections/dist/react.d.ts +21 -0
  232. package/node_modules/@undefineds.co/pod-collections/dist/react.js +22 -0
  233. package/node_modules/@undefineds.co/pod-collections/dist/read.d.ts +65 -0
  234. package/node_modules/@undefineds.co/pod-collections/dist/read.js +31 -0
  235. package/node_modules/@undefineds.co/pod-collections/dist/sync.d.ts +66 -0
  236. package/node_modules/@undefineds.co/pod-collections/dist/sync.js +260 -0
  237. package/node_modules/@undefineds.co/pod-collections/dist/types.d.ts +155 -0
  238. package/node_modules/@undefineds.co/pod-collections/dist/types.js +9 -0
  239. package/node_modules/@undefineds.co/pod-collections/package.json +42 -0
  240. package/node_modules/@undefineds.co/shared-ui/dist/index.d.ts +0 -1
  241. package/node_modules/@undefineds.co/shared-ui/dist/index.js +0 -1
  242. package/package.json +15 -7
  243. package/static/app/assets/main.css +1 -1
  244. package/static/app/assets/main.js +12 -13
  245. package/static/auth-callback/assets/AiConfigContext-DnQs1ZpW.js +1 -0
  246. package/static/auth-callback/assets/AiConfigPage-DOtvlxH0.js +1 -0
  247. package/static/auth-callback/assets/DocumentProcessingPanel-BS2voQgL.js +1 -0
  248. package/static/auth-callback/assets/IndexLifecyclePanel-Cvt0cJtN.js +1 -0
  249. package/static/auth-callback/assets/{IndexSubjectPanel-C4YG0whI.js → IndexSubjectPanel-Dhf01GqF.js} +1 -1
  250. package/static/auth-callback/assets/ModelAssignmentsPanel-BJutWaAF.js +1 -0
  251. package/static/auth-callback/assets/ModelsPage-BRS0sje3.js +11 -0
  252. package/static/auth-callback/assets/{NetworkPage-Cbdn_P1e.js → NetworkPage-B3qBfANA.js} +2 -2
  253. package/static/auth-callback/assets/{PaneListHeader-jy70Q00L.js → PaneListHeader-QQeJGTp4.js} +1 -1
  254. package/static/auth-callback/assets/SearchIndexingPanel-MyNUSEwT.js +1 -0
  255. package/static/auth-callback/assets/{StatusSubjectPanel-hfjoB5aS.js → StatusSubjectPanel-DQkEVsFs.js} +1 -1
  256. package/static/{settings/assets/StatusWorkspace-CKD_Rzdr.js → auth-callback/assets/StatusWorkspace-Dkv63Uwk.js} +1 -1
  257. package/static/auth-callback/assets/SystemSettingsPage-TIsUfX5d.js +1 -0
  258. package/static/auth-callback/assets/SystemSettingsSubjectPanel-BJWEt2-7.js +33 -0
  259. package/static/auth-callback/assets/XpodAiConnectionsPodStore-BJiXm-PF.js +3 -0
  260. package/static/auth-callback/assets/{activity-BcsZZxxw.js → activity-5hNeNKnL.js} +1 -1
  261. package/static/auth-callback/assets/admin-C6qCRFiY.js +1 -0
  262. package/static/auth-callback/assets/ai-connections-CryuHGKW.js +1 -0
  263. package/static/auth-callback/assets/{auth-callback-atKg_oig.js → auth-callback-CAFZ3R0B.js} +80 -84
  264. package/static/auth-callback/assets/auth-callback-rk080mvG.css +1 -0
  265. package/static/auth-callback/assets/{badge-BWbRHThQ.js → badge-CAIPI0CB.js} +1 -1
  266. package/static/auth-callback/assets/collection-runtime-D9s7h9YA.js +1 -0
  267. package/static/auth-callback/assets/dialog-BjA109aX.js +1 -0
  268. package/static/auth-callback/assets/{download-BmvG1Vya.js → download-B3Up5W2G.js} +1 -1
  269. package/static/auth-callback/assets/{external-link-DZ34d3g3.js → external-link-BTXgSPzB.js} +1 -1
  270. package/static/auth-callback/assets/index-BppXlxcp.js +41 -0
  271. package/static/auth-callback/assets/index-CirW4CJf.js +1 -0
  272. package/static/auth-callback/assets/index-DlLYWOhw.js +4 -0
  273. package/static/auth-callback/assets/{index-browser-B9Z7GU-T.js → index-browser-DtU38ni3.js} +1 -1
  274. package/static/auth-callback/assets/{key-round-tjP76Se-.js → key-round-CQCOrZ7x.js} +1 -1
  275. package/static/auth-callback/assets/layout-DB3pMyTl.js +1 -0
  276. package/static/auth-callback/assets/pod-collections-host-KnnGFZHL.js +8 -0
  277. package/static/auth-callback/assets/{rotate-ccw-C_L5ZLx1.js → rotate-ccw-C1zM2KtS.js} +1 -1
  278. package/static/auth-callback/assets/settings-projection-CUkyprDQ.js +1 -0
  279. package/static/auth-callback/assets/{skeleton-C7tGDQIs.js → skeleton-Cqp7_M9-.js} +1 -1
  280. package/static/auth-callback/assets/{waypoints-VMNQlWdU.js → waypoints-Bj6gAUSQ.js} +1 -1
  281. package/static/auth-callback/assets/{workspace-layout-SAp6BtYK.js → workspace-layout-DK8mDzrY.js} +1 -1
  282. package/static/auth-callback/auth-callback.html +2 -2
  283. package/static/dashboard/assets/AiConfigContext-BsE7MqX8.js +1 -0
  284. package/static/dashboard/assets/AiConfigPage-DvM-lRXa.js +1 -0
  285. package/static/dashboard/assets/DocumentProcessingPanel-BPfdlfuf.js +1 -0
  286. package/static/dashboard/assets/IndexLifecyclePanel--m0AGxvh.js +1 -0
  287. package/static/dashboard/assets/{IndexSubjectPanel-DQFPP6-p.js → IndexSubjectPanel-Bb7m1k3d.js} +1 -1
  288. package/static/dashboard/assets/ModelAssignmentsPanel-BLi_zbMa.js +1 -0
  289. package/static/dashboard/assets/ModelsPage-CxdpgnfR.js +11 -0
  290. package/static/dashboard/assets/{NetworkPage-CHQ3YxIB.js → NetworkPage-BAIPw-D_.js} +2 -2
  291. package/static/dashboard/assets/{PaneListHeader-DsXemAdR.js → PaneListHeader-BBCMei0r.js} +1 -1
  292. package/static/dashboard/assets/SearchIndexingPanel-Ck4Y-xjR.js +1 -0
  293. package/static/dashboard/assets/{StatusSubjectPanel-D3PGEYT4.js → StatusSubjectPanel-D1KWfAXE.js} +1 -1
  294. package/static/dashboard/assets/{StatusWorkspace-BcpePYUW.js → StatusWorkspace-JbA5gzXx.js} +1 -1
  295. package/static/dashboard/assets/SystemSettingsPage-BbwQWsSR.js +1 -0
  296. package/static/dashboard/assets/SystemSettingsSubjectPanel-N117nMt5.js +33 -0
  297. package/static/dashboard/assets/XpodAiConnectionsPodStore-CdDOb4SV.js +18 -0
  298. package/static/dashboard/assets/{activity-j5zrznu-.js → activity-DX1I96o_.js} +1 -1
  299. package/static/dashboard/assets/admin-C6qCRFiY.js +1 -0
  300. package/static/dashboard/assets/ai-connections-DwCRqOQa.js +1 -0
  301. package/static/dashboard/assets/{badge-CzeBdG7h.js → badge-k2vhtDqH.js} +1 -1
  302. package/static/dashboard/assets/collection-runtime-BFQ8teQJ.js +1 -0
  303. package/static/dashboard/assets/{dashboard-D-xANHk1.js → dashboard-DWZ-fmCT.js} +105 -109
  304. package/static/dashboard/assets/dashboard-rk080mvG.css +1 -0
  305. package/static/dashboard/assets/dialog-1CCw-iHT.js +1 -0
  306. package/static/dashboard/assets/{download-IcNdEZWi.js → download-C6-SNY1q.js} +1 -1
  307. package/static/dashboard/assets/{external-link-DxBxK8Vu.js → external-link-BgPcZ_j2.js} +1 -1
  308. package/static/dashboard/assets/index-6LcIUIYO.js +1 -0
  309. package/static/dashboard/assets/index-D7A8U6Pt.js +41 -0
  310. package/static/dashboard/assets/index-UD6QOE7H.js +4 -0
  311. package/static/dashboard/assets/{key-round-D1K7warM.js → key-round-BOd7Jo0Q.js} +1 -1
  312. package/static/dashboard/assets/layout-DB3pMyTl.js +1 -0
  313. package/static/dashboard/assets/pod-collections-host-KnnGFZHL.js +8 -0
  314. package/static/dashboard/assets/{rotate-ccw-CcN1N6p9.js → rotate-ccw-CCgJqsvx.js} +1 -1
  315. package/static/dashboard/assets/settings-projection-CUkyprDQ.js +1 -0
  316. package/static/dashboard/assets/{skeleton-CKnmJMUH.js → skeleton-Bc7abAn5.js} +1 -1
  317. package/static/dashboard/assets/{waypoints-DuZPO_wu.js → waypoints-s-opmJxx.js} +1 -1
  318. package/static/dashboard/assets/{workspace-layout-BUj3wZ_m.js → workspace-layout-DqIQeTBV.js} +1 -1
  319. package/static/dashboard/dashboard.html +2 -2
  320. package/static/settings/assets/AiConfigContext-BB9KZySa.js +1 -0
  321. package/static/settings/assets/AiConfigPage-DGSXUkLs.js +1 -0
  322. package/static/settings/assets/DocumentProcessingPanel-Da2Re6Rg.js +1 -0
  323. package/static/settings/assets/IndexLifecyclePanel-BSZuIzgr.js +1 -0
  324. package/static/settings/assets/{IndexSubjectPanel-73sM16Ma.js → IndexSubjectPanel-CFd0ay-r.js} +1 -1
  325. package/static/settings/assets/ModelAssignmentsPanel-CSAryvWJ.js +1 -0
  326. package/static/settings/assets/ModelsPage-BQwCwLHU.js +11 -0
  327. package/static/settings/assets/{NetworkPage-i6j-M2RY.js → NetworkPage-BKymvsQc.js} +2 -2
  328. package/static/settings/assets/{PaneListHeader-DpqC0jd5.js → PaneListHeader-Bjh3hRdQ.js} +1 -1
  329. package/static/settings/assets/SearchIndexingPanel-MjKL5QLU.js +1 -0
  330. package/static/settings/assets/{StatusSubjectPanel-Dv4q3PGh.js → StatusSubjectPanel-Bvl6K4mx.js} +1 -1
  331. package/static/settings/assets/StatusWorkspace-B0NzrP--.js +1 -0
  332. package/static/settings/assets/SystemSettingsPage-D2z6Z4FE.js +1 -0
  333. package/static/settings/assets/SystemSettingsSubjectPanel-4sxma4X4.js +33 -0
  334. package/static/settings/assets/XpodAiConnectionsPodStore-BkNQ8fZx.js +3 -0
  335. package/static/settings/assets/{activity-DaFkk8f3.js → activity-CgJJGpjx.js} +1 -1
  336. package/static/settings/assets/admin-C6qCRFiY.js +1 -0
  337. package/static/settings/assets/ai-connections-CryuHGKW.js +1 -0
  338. package/static/settings/assets/{badge-d5SHdc-x.js → badge-C4NypVyT.js} +1 -1
  339. package/static/settings/assets/collection-runtime-CTLCDxAi.js +1 -0
  340. package/static/settings/assets/dialog-Csq0vWUi.js +1 -0
  341. package/static/settings/assets/{download-CpkwomDr.js → download-DaLJJ-Wp.js} +1 -1
  342. package/static/settings/assets/{external-link-_4YT42Mf.js → external-link--w_iW5Au.js} +1 -1
  343. package/static/settings/assets/index-B0mQa59b.js +4 -0
  344. package/static/settings/assets/index-BukHiu4y.js +1 -0
  345. package/static/settings/assets/index-COmVnZi2.js +41 -0
  346. package/static/settings/assets/{index-browser-B06xjBdZ.js → index-browser-BGpvHwD0.js} +1 -1
  347. package/static/settings/assets/{key-round-Dlqmp1Kq.js → key-round-Bk4YRjBu.js} +1 -1
  348. package/static/settings/assets/layout-DB3pMyTl.js +1 -0
  349. package/static/settings/assets/pod-collections-host-KnnGFZHL.js +8 -0
  350. package/static/settings/assets/{rotate-ccw-TAY65xWT.js → rotate-ccw-TCabbqsr.js} +1 -1
  351. package/static/settings/assets/{settings-ExBXGgbj.js → settings-CJWpdbNC.js} +105 -109
  352. package/static/settings/assets/settings-projection-CUkyprDQ.js +1 -0
  353. package/static/settings/assets/settings-rk080mvG.css +1 -0
  354. package/static/settings/assets/{skeleton-DKIWjNr9.js → skeleton-JDHYVe7t.js} +1 -1
  355. package/static/settings/assets/{waypoints-9erLIxyR.js → waypoints-DDvEl-MU.js} +1 -1
  356. package/static/settings/assets/{workspace-layout-CYXfYIa3.js → workspace-layout-DV5QU30U.js} +1 -1
  357. package/static/settings/settings.html +2 -2
  358. package/node_modules/@undefineds.co/shared-ui/dist/oidc-consent.d.ts +0 -54
  359. package/node_modules/@undefineds.co/shared-ui/dist/oidc-consent.js +0 -21
  360. package/static/auth-callback/assets/AiConfigContext-C81deMM9.js +0 -1
  361. package/static/auth-callback/assets/AiConfigPage-evWI8T56.js +0 -1
  362. package/static/auth-callback/assets/DocumentProcessingPanel-B9GrDEMe.js +0 -1
  363. package/static/auth-callback/assets/IndexLifecyclePanel-qCo8ABQZ.js +0 -1
  364. package/static/auth-callback/assets/ModelAssignmentsPanel-DG7Lxh3t.js +0 -1
  365. package/static/auth-callback/assets/ModelsPage-CgEuqE6p.js +0 -10
  366. package/static/auth-callback/assets/SearchIndexingPanel-ByU3u7kp.js +0 -1
  367. package/static/auth-callback/assets/StatusWorkspace-BZd617sV.js +0 -1
  368. package/static/auth-callback/assets/SystemSettingsPage-BirzWAQM.js +0 -1
  369. package/static/auth-callback/assets/SystemSettingsSubjectPanel-CmsVWNCx.js +0 -31
  370. package/static/auth-callback/assets/admin-BU4m6Ko2.js +0 -1
  371. package/static/auth-callback/assets/ai-connections-CHNTKemd.js +0 -1
  372. package/static/auth-callback/assets/auth-callback-C_7MUXJb.css +0 -1
  373. package/static/auth-callback/assets/index-BpV1hsqs.js +0 -4
  374. package/static/auth-callback/assets/index-D9oE6FXK.js +0 -41
  375. package/static/dashboard/assets/AiConfigContext-De-OtAWo.js +0 -1
  376. package/static/dashboard/assets/AiConfigPage-macP4Mop.js +0 -1
  377. package/static/dashboard/assets/DocumentProcessingPanel-C5ObvCCl.js +0 -1
  378. package/static/dashboard/assets/IndexLifecyclePanel-xVNa2l40.js +0 -1
  379. package/static/dashboard/assets/ModelAssignmentsPanel-DMOATFpQ.js +0 -1
  380. package/static/dashboard/assets/ModelsPage-91UbnETA.js +0 -25
  381. package/static/dashboard/assets/SearchIndexingPanel-Dh70PNFZ.js +0 -1
  382. package/static/dashboard/assets/SystemSettingsPage-BiN5GcKx.js +0 -1
  383. package/static/dashboard/assets/SystemSettingsSubjectPanel-B9QrSiFp.js +0 -31
  384. package/static/dashboard/assets/admin-BU4m6Ko2.js +0 -1
  385. package/static/dashboard/assets/ai-connections-CHNTKemd.js +0 -1
  386. package/static/dashboard/assets/dashboard-C_7MUXJb.css +0 -1
  387. package/static/dashboard/assets/index-FWZ-s52O.js +0 -41
  388. package/static/dashboard/assets/index-ZiQZ96oC.js +0 -4
  389. package/static/settings/assets/AiConfigContext-C0cQMPfG.js +0 -1
  390. package/static/settings/assets/AiConfigPage-CPhB4iFb.js +0 -1
  391. package/static/settings/assets/DocumentProcessingPanel-sYI7OpuH.js +0 -1
  392. package/static/settings/assets/IndexLifecyclePanel-yj8iyiT8.js +0 -1
  393. package/static/settings/assets/ModelAssignmentsPanel-BFIgUX5v.js +0 -1
  394. package/static/settings/assets/ModelsPage-BdppXl7E.js +0 -10
  395. package/static/settings/assets/SearchIndexingPanel-BlPnrkT3.js +0 -1
  396. package/static/settings/assets/SystemSettingsPage-CiOm2NzV.js +0 -1
  397. package/static/settings/assets/SystemSettingsSubjectPanel-Cd-GECon.js +0 -31
  398. package/static/settings/assets/admin-BU4m6Ko2.js +0 -1
  399. package/static/settings/assets/ai-connections-CHNTKemd.js +0 -1
  400. package/static/settings/assets/index-BFi9yn7_.js +0 -41
  401. package/static/settings/assets/index-BGgEhIUy.js +0 -4
  402. package/static/settings/assets/settings-C_7MUXJb.css +0 -1
@@ -2,6 +2,22 @@ export type PodModelDescriptorSource = 'official' | 'verified-community' | 'deve
2
2
  export type PodModelDescriptorTrustLevel = 'high' | 'medium' | 'low';
3
3
  export type PodModelFieldType = 'string' | 'text' | 'number' | 'boolean' | 'timestamp' | 'uri' | 'json';
4
4
  export type PodModelMergePolicy = 'create-only' | 'upsert' | 'patch' | 'append';
5
+ /**
6
+ * Edge target of a field whose backing table column declares
7
+ * `drizzle-solid`'s `.link(...)`.
8
+ *
9
+ * A `uri` field without this member says "the value is a URI" and nothing more,
10
+ * so consumers cannot type relation traversal and fall back to guessing the
11
+ * target from the value's shape or from an id convention. The relation restores
12
+ * the two facts the link declaration already carries in the schema:
13
+ * which descriptor is on the other side, and which field identifies that row.
14
+ */
15
+ export interface PodModelFieldReference {
16
+ /** `resourceKind` of the target descriptor (`PodModelDescriptor.resourceKind`). */
17
+ resource: string;
18
+ /** Identity field on the target row (`PodModelDescriptor.uniqueBy[0]`). */
19
+ key: string;
20
+ }
5
21
  export interface PodModelFieldDescriptor {
6
22
  type: PodModelFieldType;
7
23
  predicate: string;
@@ -9,6 +25,8 @@ export interface PodModelFieldDescriptor {
9
25
  secret?: boolean;
10
26
  array?: boolean;
11
27
  description?: string;
28
+ /** Present only when the backing table column declares `.link(...)`. */
29
+ references?: PodModelFieldReference;
12
30
  }
13
31
  export interface PodModelDescriptor {
14
32
  uri: string;
@@ -32,6 +50,29 @@ export interface PodModelDescriptor {
32
50
  match: Record<string, unknown>;
33
51
  }>;
34
52
  }
53
+ /**
54
+ * A descriptor whose `fields` keeps its literal shape: literal keys, literal
55
+ * `type`, and literal `array`/`secret` flags.
56
+ */
57
+ export type PodModelDescriptorWithFields<F extends Record<string, PodModelFieldDescriptor>> = Omit<PodModelDescriptor, 'fields'> & {
58
+ fields: F;
59
+ };
60
+ /**
61
+ * Declares a descriptor while keeping the literal field map.
62
+ *
63
+ * Annotating a descriptor with `PodModelDescriptor` erases `fields` into
64
+ * `Record<string, PodModelFieldDescriptor>`: `keyof fields` collapses to
65
+ * `string | number` and every `type`/`array`/`secret` literal widens to its
66
+ * union. Consumers that derive row types from descriptors (a mapped type over
67
+ * `D['fields']`) then get an index signature, so a stale field name compiles and
68
+ * reads `undefined` at runtime. The `const F` type parameter is the whole
69
+ * point: declare with `definePodModelDescriptor({...})` and the literal keys,
70
+ * field types, and flags survive into the published `.d.ts`.
71
+ *
72
+ * Runtime behaviour is the identity function: the returned value is the same
73
+ * object the caller passed.
74
+ */
75
+ export declare function definePodModelDescriptor<const F extends Record<string, PodModelFieldDescriptor>>(descriptor: PodModelDescriptorWithFields<F>): PodModelDescriptorWithFields<F>;
35
76
  export interface PodStorageMutationPlan {
36
77
  id: string;
37
78
  schemaUri: string;
@@ -92,32 +133,4780 @@ export interface PodSchemaSearchEntry {
92
133
  score: number;
93
134
  matchedFields: string[];
94
135
  }
95
- export declare const credentialDescriptor: PodModelDescriptor;
96
- export declare const gatewayAccessKeyDescriptor: PodModelDescriptor;
97
- export declare const quotaSnapshotDescriptor: PodModelDescriptor;
98
- export declare const approvalDescriptor: PodModelDescriptor;
99
- export declare const inputRequestDescriptor: PodModelDescriptor;
100
- export declare const captureCandidateDescriptor: PodModelDescriptor;
101
- export declare const captureEventDescriptor: PodModelDescriptor;
102
- export declare const contactDescriptor: PodModelDescriptor;
103
- export declare const chatDescriptor: PodModelDescriptor;
104
- export declare const threadDescriptor: PodModelDescriptor;
105
- export declare const messageDescriptor: PodModelDescriptor;
106
- export declare const chatProjectContextDescriptor: PodModelDescriptor;
107
- export declare const chatProjectMemoryDescriptor: PodModelDescriptor;
108
- export declare const conversationShareDescriptor: PodModelDescriptor;
109
- export declare const ideaDescriptor: PodModelDescriptor;
110
- export declare const issueDescriptor: PodModelDescriptor;
111
- export declare const taskDescriptor: PodModelDescriptor;
112
- export declare const scheduleDescriptor: PodModelDescriptor;
113
- export declare const automationRuleDescriptor: PodModelDescriptor;
114
- export declare const deliveryDescriptor: PodModelDescriptor;
115
- export declare const runDescriptor: PodModelDescriptor;
116
- export declare const runStepDescriptor: PodModelDescriptor;
117
- export declare const evidenceDescriptor: PodModelDescriptor;
118
- export declare const reportDescriptor: PodModelDescriptor;
119
- export declare const sessionDescriptor: PodModelDescriptor;
120
- export declare const officialPodModelDescriptors: readonly [PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor, PodModelDescriptor];
136
+ export declare const credentialDescriptor: PodModelDescriptorWithFields<{
137
+ readonly id: {
138
+ readonly type: "string";
139
+ readonly predicate: string;
140
+ readonly required: true;
141
+ readonly description: "Base-relative credential row id. Every credential in a provider pool keeps its own id.";
142
+ };
143
+ readonly provider: {
144
+ readonly type: "uri";
145
+ readonly predicate: string;
146
+ readonly references: {
147
+ readonly resource: "provider";
148
+ readonly key: "id";
149
+ };
150
+ readonly description: "Provider resource URI this credential connects through, as a URI relation to the provider row.";
151
+ };
152
+ readonly authMode: {
153
+ readonly type: "string";
154
+ readonly predicate: string;
155
+ readonly description: "Authentication mode such as apiKey, oauth, deviceCode, or console.";
156
+ };
157
+ readonly offeringId: {
158
+ readonly type: "string";
159
+ readonly predicate: string;
160
+ readonly description: "Offering id this credential connects through. Offerings are catalog content, so this stays a plain attribute, not a relation.";
161
+ };
162
+ readonly service: {
163
+ readonly type: "string";
164
+ readonly predicate: string;
165
+ readonly required: true;
166
+ readonly description: "Credential service grouping, for example ai or infra.";
167
+ };
168
+ readonly status: {
169
+ readonly type: "string";
170
+ readonly predicate: string;
171
+ readonly description: "Credential health status.";
172
+ };
173
+ readonly apiKey: {
174
+ readonly type: "string";
175
+ readonly predicate: string;
176
+ readonly secret: true;
177
+ readonly description: "Secret token or API key material.";
178
+ };
179
+ readonly storageMode: {
180
+ readonly type: "string";
181
+ readonly predicate: string;
182
+ readonly description: "Credential storage format, for example plaintext-v1 or secret-cell-v1.";
183
+ };
184
+ readonly secretPayload: {
185
+ readonly type: "string";
186
+ readonly predicate: string;
187
+ readonly secret: true;
188
+ readonly description: "Storage-mode-specific credential payload. plaintext-v1 stores a JSON payload here.";
189
+ };
190
+ readonly encryptedSecret: {
191
+ readonly type: "string";
192
+ readonly predicate: string;
193
+ readonly secret: true;
194
+ readonly description: "Encrypted credential payload stored in the Pod.";
195
+ };
196
+ readonly wrappedDataKey: {
197
+ readonly type: "string";
198
+ readonly predicate: string;
199
+ readonly secret: true;
200
+ readonly description: "Wrapped data-encryption key for encrypted credential payloads.";
201
+ };
202
+ readonly encryptionAlgorithm: {
203
+ readonly type: "string";
204
+ readonly predicate: string;
205
+ readonly description: "Credential encryption algorithm identifier.";
206
+ };
207
+ readonly keyVersion: {
208
+ readonly type: "string";
209
+ readonly predicate: string;
210
+ readonly description: "Key-management version used to encrypt the credential.";
211
+ };
212
+ readonly scopes: {
213
+ readonly type: "text";
214
+ readonly predicate: string;
215
+ readonly array: true;
216
+ readonly description: "Credential scopes granted by the provider.";
217
+ };
218
+ readonly expiresAt: {
219
+ readonly type: "timestamp";
220
+ readonly predicate: string;
221
+ readonly description: "Credential expiry timestamp.";
222
+ };
223
+ readonly accountLabel: {
224
+ readonly type: "string";
225
+ readonly predicate: string;
226
+ readonly description: "Provider account label associated with the credential.";
227
+ };
228
+ readonly lastRefreshAt: {
229
+ readonly type: "timestamp";
230
+ readonly predicate: string;
231
+ readonly description: "Last successful credential refresh timestamp.";
232
+ };
233
+ readonly reauthRequired: {
234
+ readonly type: "boolean";
235
+ readonly predicate: string;
236
+ readonly description: "Whether this credential requires user reauthentication.";
237
+ };
238
+ readonly baseUrl: {
239
+ readonly type: "string";
240
+ readonly predicate: string;
241
+ readonly description: "Provider API base URL recorded on the credential.";
242
+ };
243
+ readonly proxyUrl: {
244
+ readonly type: "string";
245
+ readonly predicate: string;
246
+ readonly description: "Proxy URL used for requests made with this credential.";
247
+ };
248
+ readonly label: {
249
+ readonly type: "string";
250
+ readonly predicate: string;
251
+ readonly description: "User-facing credential label.";
252
+ };
253
+ readonly isDefault: {
254
+ readonly type: "boolean";
255
+ readonly predicate: string;
256
+ readonly description: "Whether this credential is the default credential for its provider.";
257
+ };
258
+ readonly createdAt: {
259
+ readonly type: "timestamp";
260
+ readonly predicate: string;
261
+ readonly description: "Creation timestamp, set by the store.";
262
+ };
263
+ readonly lastUsedAt: {
264
+ readonly type: "timestamp";
265
+ readonly predicate: string;
266
+ readonly description: "Last successful use timestamp.";
267
+ };
268
+ readonly clientCredentialId: {
269
+ readonly type: "string";
270
+ readonly predicate: string;
271
+ readonly description: "Client the issued credential belongs to. An external runtime identifier, not an RDF link.";
272
+ };
273
+ readonly appliedTo: {
274
+ readonly type: "string";
275
+ readonly predicate: string;
276
+ readonly description: "Client application id the credential is in effect for. A runtime identifier, not an RDF link.";
277
+ };
278
+ readonly appliedOn: {
279
+ readonly type: "string";
280
+ readonly predicate: string;
281
+ readonly description: "Device id that wrote the applied configuration. A runtime identifier, not an RDF link.";
282
+ };
283
+ readonly appliedAt: {
284
+ readonly type: "timestamp";
285
+ readonly predicate: string;
286
+ readonly description: "Timestamp when the credential was applied.";
287
+ };
288
+ readonly failCount: {
289
+ readonly type: "number";
290
+ readonly predicate: string;
291
+ readonly description: "Failed use count recorded for the credential.";
292
+ };
293
+ readonly rateLimitResetAt: {
294
+ readonly type: "timestamp";
295
+ readonly predicate: string;
296
+ readonly description: "Timestamp when the provider rate limit is expected to reset.";
297
+ };
298
+ readonly oauthRefreshToken: {
299
+ readonly type: "string";
300
+ readonly predicate: string;
301
+ readonly secret: true;
302
+ readonly description: "OAuth refresh token.";
303
+ };
304
+ readonly oauthAccessToken: {
305
+ readonly type: "string";
306
+ readonly predicate: string;
307
+ readonly secret: true;
308
+ readonly description: "OAuth access token.";
309
+ };
310
+ readonly oauthExpiresAt: {
311
+ readonly type: "timestamp";
312
+ readonly predicate: string;
313
+ readonly description: "OAuth access token expiry timestamp.";
314
+ };
315
+ readonly projectId: {
316
+ readonly type: "string";
317
+ readonly predicate: string;
318
+ readonly description: "Provider project identifier recorded for the credential.";
319
+ };
320
+ readonly organizationId: {
321
+ readonly type: "string";
322
+ readonly predicate: string;
323
+ readonly description: "Provider organization identifier recorded for the credential.";
324
+ };
325
+ readonly metadata: {
326
+ readonly type: "json";
327
+ readonly predicate: string;
328
+ readonly description: "Opaque adapter-local metadata bag; shared relations must be explicit fields.";
329
+ };
330
+ }>;
331
+ export declare const gatewayAccessKeyDescriptor: PodModelDescriptorWithFields<{
332
+ readonly id: {
333
+ readonly type: "string";
334
+ readonly predicate: string;
335
+ readonly required: true;
336
+ readonly description: "Base-relative resource id, for example ai/gateway/access-keys.ttl#key_1.";
337
+ };
338
+ readonly owner: {
339
+ readonly type: "uri";
340
+ readonly predicate: string;
341
+ readonly required: true;
342
+ readonly description: "WebID or principal URI that owns this Gateway access key.";
343
+ };
344
+ readonly secretHash: {
345
+ readonly type: "string";
346
+ readonly predicate: string;
347
+ readonly required: true;
348
+ readonly secret: true;
349
+ readonly description: "Hash of the Gateway secret. Raw access key material must not be stored here.";
350
+ };
351
+ readonly name: {
352
+ readonly type: "string";
353
+ readonly predicate: string;
354
+ readonly description: "User-visible label for distinguishing this Gateway access key.";
355
+ };
356
+ readonly deployment: {
357
+ readonly type: "string";
358
+ readonly predicate: string;
359
+ readonly required: true;
360
+ readonly description: "Gateway deployment target: local or cloud.";
361
+ };
362
+ readonly scopes: {
363
+ readonly type: "text";
364
+ readonly predicate: string;
365
+ readonly array: true;
366
+ readonly description: "Gateway scopes granted to this key.";
367
+ };
368
+ readonly createdAt: {
369
+ readonly type: "timestamp";
370
+ readonly predicate: string;
371
+ readonly description: "Creation timestamp.";
372
+ };
373
+ readonly expiresAt: {
374
+ readonly type: "timestamp";
375
+ readonly predicate: string;
376
+ readonly description: "Key expiry timestamp.";
377
+ };
378
+ readonly lastUsedAt: {
379
+ readonly type: "timestamp";
380
+ readonly predicate: string;
381
+ readonly description: "Last successful Gateway use timestamp.";
382
+ };
383
+ readonly revokedAt: {
384
+ readonly type: "timestamp";
385
+ readonly predicate: string;
386
+ readonly description: "Revocation timestamp. Presence means the key is no longer valid.";
387
+ };
388
+ readonly disabledAt: {
389
+ readonly type: "timestamp";
390
+ readonly predicate: string;
391
+ readonly description: "Temporary disable timestamp. Clear it to enable the key again.";
392
+ };
393
+ }>;
394
+ export declare const quotaSnapshotDescriptor: PodModelDescriptorWithFields<{
395
+ readonly id: {
396
+ readonly type: "string";
397
+ readonly predicate: string;
398
+ readonly required: true;
399
+ readonly description: "Base-relative resource id, for example ai/gateway/quota.ttl#quota_1.";
400
+ };
401
+ readonly credential: {
402
+ readonly type: "uri";
403
+ readonly predicate: string;
404
+ readonly references: {
405
+ readonly resource: "credential";
406
+ readonly key: "id";
407
+ };
408
+ readonly required: true;
409
+ readonly description: "Credential resource URI this quota snapshot describes.";
410
+ };
411
+ readonly owner: {
412
+ readonly type: "uri";
413
+ readonly predicate: string;
414
+ readonly required: true;
415
+ readonly description: "WebID that owns the credential and quota snapshot.";
416
+ };
417
+ readonly deployment: {
418
+ readonly type: "string";
419
+ readonly predicate: string;
420
+ readonly required: true;
421
+ readonly description: "Gateway deployment scope: local or cloud.";
422
+ };
423
+ readonly provider: {
424
+ readonly type: "string";
425
+ readonly predicate: string;
426
+ readonly required: true;
427
+ readonly description: "Normalized provider id for the quota snapshot.";
428
+ };
429
+ readonly status: {
430
+ readonly type: "string";
431
+ readonly predicate: string;
432
+ readonly required: true;
433
+ readonly description: "Quota availability status: available, unsupported, or error.";
434
+ };
435
+ readonly balance: {
436
+ readonly type: "number";
437
+ readonly predicate: string;
438
+ readonly description: "Normalized remaining quota balance when the provider exposes one.";
439
+ };
440
+ readonly windows: {
441
+ readonly type: "text";
442
+ readonly predicate: string;
443
+ readonly description: "Serialized normalized quota windows literal, for example JSON produced by Gateway normalization.";
444
+ };
445
+ readonly observedAt: {
446
+ readonly type: "timestamp";
447
+ readonly predicate: string;
448
+ readonly description: "Observation timestamp.";
449
+ };
450
+ readonly expiresAt: {
451
+ readonly type: "timestamp";
452
+ readonly predicate: string;
453
+ readonly description: "Snapshot freshness expiry timestamp.";
454
+ };
455
+ readonly source: {
456
+ readonly type: "string";
457
+ readonly predicate: string;
458
+ readonly description: "Observation source such as provider, gateway-cache, or manual.";
459
+ };
460
+ }>;
461
+ export declare const aiProviderDescriptor: PodModelDescriptorWithFields<{
462
+ readonly id: {
463
+ readonly type: "string";
464
+ readonly predicate: string;
465
+ readonly required: true;
466
+ readonly description: "Base-relative provider row id, for example openai.ttl.";
467
+ };
468
+ readonly displayName: {
469
+ readonly type: "string";
470
+ readonly predicate: string;
471
+ readonly description: "Provider display name stored on the provider row.";
472
+ };
473
+ readonly baseUrl: {
474
+ readonly type: "string";
475
+ readonly predicate: string;
476
+ readonly description: "Provider API base URL.";
477
+ };
478
+ readonly proxyUrl: {
479
+ readonly type: "string";
480
+ readonly predicate: string;
481
+ readonly description: "Proxy URL used for provider requests.";
482
+ };
483
+ readonly homepage: {
484
+ readonly type: "string";
485
+ readonly predicate: string;
486
+ readonly description: "Provider homepage URL.";
487
+ };
488
+ readonly apiKeyUrl: {
489
+ readonly type: "string";
490
+ readonly predicate: string;
491
+ readonly description: "URL where a user creates an API key for this provider.";
492
+ };
493
+ readonly connectMode: {
494
+ readonly type: "string";
495
+ readonly predicate: string;
496
+ readonly description: "Connection mode recorded for the provider authorization method.";
497
+ };
498
+ readonly hasModel: {
499
+ readonly type: "uri";
500
+ readonly predicate: string;
501
+ readonly references: {
502
+ readonly resource: "ai-model";
503
+ readonly key: "id";
504
+ };
505
+ readonly array: true;
506
+ readonly description: "Model rows this provider exposes, as subjects inside the provider document.";
507
+ };
508
+ readonly defaultModel: {
509
+ readonly type: "uri";
510
+ readonly predicate: string;
511
+ readonly references: {
512
+ readonly resource: "ai-model";
513
+ readonly key: "id";
514
+ };
515
+ readonly description: "Default model for this provider when a request does not select one.";
516
+ };
517
+ readonly supportsBackend: {
518
+ readonly type: "string";
519
+ readonly predicate: string;
520
+ readonly description: "Backends this provider can serve, read as a backend list by the AI config selector.";
521
+ };
522
+ readonly capabilities: {
523
+ readonly type: "string";
524
+ readonly predicate: string;
525
+ readonly array: true;
526
+ readonly description: "Provider capability tags.";
527
+ };
528
+ readonly rotationPolicy: {
529
+ readonly type: "string";
530
+ readonly predicate: string;
531
+ readonly description: "Credential rotation policy recorded for the provider.";
532
+ };
533
+ }>;
534
+ export declare const aiModelDescriptor: PodModelDescriptorWithFields<{
535
+ readonly id: {
536
+ readonly type: "string";
537
+ readonly predicate: string;
538
+ readonly required: true;
539
+ readonly description: "Base-relative model row id: provider document plus model key, for example openai.ttl#gpt-4o.";
540
+ };
541
+ readonly rdfType: {
542
+ readonly type: "uri";
543
+ readonly predicate: string;
544
+ readonly array: true;
545
+ readonly description: "RDF class of the model row. The base table defaults to AIModel, and subclass tables narrow it.";
546
+ };
547
+ readonly displayName: {
548
+ readonly type: "string";
549
+ readonly predicate: string;
550
+ readonly description: "Model display name stored on the model row.";
551
+ };
552
+ readonly isProvidedBy: {
553
+ readonly type: "uri";
554
+ readonly predicate: string;
555
+ readonly references: {
556
+ readonly resource: "provider";
557
+ readonly key: "id";
558
+ };
559
+ readonly description: "Provider document this model row belongs to, as a URI relation to the provider row.";
560
+ };
561
+ readonly inputModalities: {
562
+ readonly type: "text";
563
+ readonly predicate: string;
564
+ readonly array: true;
565
+ readonly description: "Input modalities the model accepts.";
566
+ };
567
+ readonly outputModalities: {
568
+ readonly type: "text";
569
+ readonly predicate: string;
570
+ readonly array: true;
571
+ readonly description: "Output modalities the model produces.";
572
+ };
573
+ readonly runtimeCapabilities: {
574
+ readonly type: "string";
575
+ readonly predicate: string;
576
+ readonly array: true;
577
+ readonly description: "Adapter/runtime endpoint capabilities, kept separate from semantic model capabilities.";
578
+ };
579
+ readonly capabilities: {
580
+ readonly type: "uri";
581
+ readonly predicate: string;
582
+ readonly array: true;
583
+ readonly description: "Semantic capabilities of the model, as URIs.";
584
+ };
585
+ readonly pricingInput: {
586
+ readonly type: "number";
587
+ readonly predicate: string;
588
+ readonly description: "Input token price recorded for the model.";
589
+ };
590
+ readonly pricingOutput: {
591
+ readonly type: "number";
592
+ readonly predicate: string;
593
+ readonly description: "Output token price recorded for the model.";
594
+ };
595
+ readonly status: {
596
+ readonly type: "string";
597
+ readonly predicate: string;
598
+ readonly description: "Model availability status.";
599
+ };
600
+ readonly createdAt: {
601
+ readonly type: "timestamp";
602
+ readonly predicate: string;
603
+ readonly description: "Creation timestamp, set by the store.";
604
+ };
605
+ readonly updatedAt: {
606
+ readonly type: "timestamp";
607
+ readonly predicate: string;
608
+ readonly description: "Last update timestamp.";
609
+ };
610
+ }>;
611
+ export declare const approvalDescriptor: PodModelDescriptorWithFields<{
612
+ readonly id: {
613
+ readonly type: "string";
614
+ readonly predicate: string;
615
+ readonly required: true;
616
+ readonly description: "Approval request resource id, including date bucket and fragment when materialized.";
617
+ };
618
+ readonly session: {
619
+ readonly type: "uri";
620
+ readonly predicate: string;
621
+ readonly required: true;
622
+ readonly description: "Runtime/session resource that requested approval.";
623
+ };
624
+ readonly chat: {
625
+ readonly type: "uri";
626
+ readonly predicate: string;
627
+ readonly references: {
628
+ readonly resource: "chat";
629
+ readonly key: "id";
630
+ };
631
+ readonly description: "Related chat command surface.";
632
+ };
633
+ readonly thread: {
634
+ readonly type: "uri";
635
+ readonly predicate: string;
636
+ readonly references: {
637
+ readonly resource: "thread";
638
+ readonly key: "id";
639
+ };
640
+ readonly description: "Related concrete thread/work site.";
641
+ };
642
+ readonly toolCallId: {
643
+ readonly type: "string";
644
+ readonly predicate: string;
645
+ readonly required: true;
646
+ readonly description: "Opaque runtime tool-call identifier; not an RDF resource link.";
647
+ };
648
+ readonly toolName: {
649
+ readonly type: "string";
650
+ readonly predicate: string;
651
+ readonly required: true;
652
+ readonly description: "Runtime tool name that requires approval.";
653
+ };
654
+ readonly target: {
655
+ readonly type: "uri";
656
+ readonly predicate: string;
657
+ readonly required: true;
658
+ readonly description: "Target resource for the requested action. Schema field uses ODRL target in the executable resource.";
659
+ };
660
+ readonly action: {
661
+ readonly type: "uri";
662
+ readonly predicate: string;
663
+ readonly required: true;
664
+ readonly description: "Requested action URI. Schema field uses ODRL action in the executable resource.";
665
+ };
666
+ readonly risk: {
667
+ readonly type: "string";
668
+ readonly predicate: string;
669
+ readonly required: true;
670
+ readonly description: "Risk level assigned by the runtime or policy layer.";
671
+ };
672
+ readonly status: {
673
+ readonly type: "string";
674
+ readonly predicate: string;
675
+ readonly description: "Approval lifecycle status such as pending, handling, approved, rejected, resolved, or expired.";
676
+ };
677
+ readonly leaseOwner: {
678
+ readonly type: "string";
679
+ readonly predicate: string;
680
+ readonly description: "Client/runtime id that currently owns the Inbox/approval handling lease.";
681
+ };
682
+ readonly leaseExpiresAt: {
683
+ readonly type: "timestamp";
684
+ readonly predicate: string;
685
+ readonly description: "Expiration timestamp for the handling lease.";
686
+ };
687
+ readonly assignedTo: {
688
+ readonly type: "uri";
689
+ readonly predicate: string;
690
+ readonly description: "WebID or agent resource assigned to decide the request.";
691
+ };
692
+ readonly decisionBy: {
693
+ readonly type: "uri";
694
+ readonly predicate: string;
695
+ readonly description: "WebID or agent resource that made the decision.";
696
+ };
697
+ readonly decisionRole: {
698
+ readonly type: "string";
699
+ readonly predicate: string;
700
+ readonly description: "Role of the decision maker, for example human or secretary.";
701
+ };
702
+ readonly onBehalfOf: {
703
+ readonly type: "uri";
704
+ readonly predicate: string;
705
+ readonly description: "User WebID or principal on whose behalf the decision applies.";
706
+ };
707
+ readonly reason: {
708
+ readonly type: "text";
709
+ readonly predicate: string;
710
+ readonly description: "Decision reason or policy explanation.";
711
+ };
712
+ readonly context: {
713
+ readonly type: "text";
714
+ readonly predicate: string;
715
+ readonly description: "Concise request context. Long evidence belongs in linked files/resources.";
716
+ };
717
+ readonly approvalOptions: {
718
+ readonly type: "text";
719
+ readonly predicate: string;
720
+ readonly description: "Serialized approval options offered by the runtime.";
721
+ };
722
+ readonly policyVersion: {
723
+ readonly type: "string";
724
+ readonly predicate: string;
725
+ readonly description: "Policy version used to create or resolve this approval.";
726
+ };
727
+ readonly createdAt: {
728
+ readonly type: "timestamp";
729
+ readonly predicate: string;
730
+ readonly description: "Creation timestamp.";
731
+ };
732
+ readonly expiresAt: {
733
+ readonly type: "timestamp";
734
+ readonly predicate: string;
735
+ readonly description: "Business deadline after which the request should no longer be acted on.";
736
+ };
737
+ readonly resolvedAt: {
738
+ readonly type: "timestamp";
739
+ readonly predicate: string;
740
+ readonly description: "Decision timestamp.";
741
+ };
742
+ }>;
743
+ export declare const inputRequestDescriptor: PodModelDescriptorWithFields<{
744
+ readonly id: {
745
+ readonly type: "string";
746
+ readonly predicate: string;
747
+ readonly required: true;
748
+ readonly description: "Input request resource id, including date bucket and fragment when materialized.";
749
+ };
750
+ readonly session: {
751
+ readonly type: "uri";
752
+ readonly predicate: string;
753
+ readonly required: true;
754
+ readonly description: "Runtime/session resource waiting for input.";
755
+ };
756
+ readonly chat: {
757
+ readonly type: "uri";
758
+ readonly predicate: string;
759
+ readonly references: {
760
+ readonly resource: "chat";
761
+ readonly key: "id";
762
+ };
763
+ readonly description: "Related chat command surface.";
764
+ };
765
+ readonly thread: {
766
+ readonly type: "uri";
767
+ readonly predicate: string;
768
+ readonly references: {
769
+ readonly resource: "thread";
770
+ readonly key: "id";
771
+ };
772
+ readonly description: "Related concrete thread/work site.";
773
+ };
774
+ readonly run: {
775
+ readonly type: "uri";
776
+ readonly predicate: string;
777
+ readonly references: {
778
+ readonly resource: "run";
779
+ readonly key: "id";
780
+ };
781
+ readonly description: "Run waiting for input.";
782
+ };
783
+ readonly task: {
784
+ readonly type: "uri";
785
+ readonly predicate: string;
786
+ readonly references: {
787
+ readonly resource: "task";
788
+ readonly key: "id";
789
+ };
790
+ readonly description: "Task whose execution requires input.";
791
+ };
792
+ readonly requester: {
793
+ readonly type: "uri";
794
+ readonly predicate: string;
795
+ readonly description: "Runtime, worker, or Secretary resource that requested input.";
796
+ };
797
+ readonly requestKind: {
798
+ readonly type: "string";
799
+ readonly predicate: string;
800
+ readonly required: true;
801
+ readonly description: "Input request category such as user-input, clarification, binding, or selection.";
802
+ };
803
+ readonly prompt: {
804
+ readonly type: "text";
805
+ readonly predicate: string;
806
+ readonly required: true;
807
+ readonly description: "Question or missing-information prompt.";
808
+ };
809
+ readonly context: {
810
+ readonly type: "text";
811
+ readonly predicate: string;
812
+ readonly description: "Concise request context. Long evidence belongs in linked files/resources.";
813
+ };
814
+ readonly inputOptions: {
815
+ readonly type: "text";
816
+ readonly predicate: string;
817
+ readonly description: "Serialized options offered for the input request.";
818
+ };
819
+ readonly status: {
820
+ readonly type: "string";
821
+ readonly predicate: string;
822
+ readonly description: "Input request lifecycle status such as pending, handling, resolved, expired, or cancelled.";
823
+ };
824
+ readonly leaseOwner: {
825
+ readonly type: "string";
826
+ readonly predicate: string;
827
+ readonly description: "Client/runtime id that currently owns the Inbox/input handling lease.";
828
+ };
829
+ readonly leaseExpiresAt: {
830
+ readonly type: "timestamp";
831
+ readonly predicate: string;
832
+ readonly description: "Expiration timestamp for the handling lease.";
833
+ };
834
+ readonly assignedTo: {
835
+ readonly type: "uri";
836
+ readonly predicate: string;
837
+ readonly description: "WebID or agent resource assigned to answer the request.";
838
+ };
839
+ readonly response: {
840
+ readonly type: "text";
841
+ readonly predicate: string;
842
+ readonly description: "Answer, selected option, or input supplied to unblock the run.";
843
+ };
844
+ readonly answeredBy: {
845
+ readonly type: "uri";
846
+ readonly predicate: string;
847
+ readonly description: "WebID or agent resource that supplied the response.";
848
+ };
849
+ readonly onBehalfOf: {
850
+ readonly type: "uri";
851
+ readonly predicate: string;
852
+ readonly description: "User WebID or principal on whose behalf the response applies.";
853
+ };
854
+ readonly reason: {
855
+ readonly type: "text";
856
+ readonly predicate: string;
857
+ readonly description: "Reason or explanation for the response.";
858
+ };
859
+ readonly metadata: {
860
+ readonly type: "json";
861
+ readonly predicate: string;
862
+ readonly description: "Opaque protocol-local metadata; shared relations must be explicit fields.";
863
+ };
864
+ readonly createdAt: {
865
+ readonly type: "timestamp";
866
+ readonly predicate: string;
867
+ readonly description: "Creation timestamp.";
868
+ };
869
+ readonly expiresAt: {
870
+ readonly type: "timestamp";
871
+ readonly predicate: string;
872
+ readonly description: "Business deadline after which the request should no longer be acted on.";
873
+ };
874
+ readonly resolvedAt: {
875
+ readonly type: "timestamp";
876
+ readonly predicate: string;
877
+ readonly description: "Resolution timestamp.";
878
+ };
879
+ }>;
880
+ export declare const captureCandidateDescriptor: PodModelDescriptorWithFields<{
881
+ readonly id: {
882
+ readonly type: "string";
883
+ readonly predicate: string;
884
+ readonly required: true;
885
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
886
+ };
887
+ readonly source: {
888
+ readonly type: "uri";
889
+ readonly predicate: string;
890
+ readonly required: true;
891
+ readonly description: "Original message, file, URL, fetched document, or resource being considered.";
892
+ };
893
+ readonly summary: {
894
+ readonly type: "text";
895
+ readonly predicate: string;
896
+ readonly required: true;
897
+ readonly description: "Concise statement of what might be worth saving.";
898
+ };
899
+ readonly suggestedType: {
900
+ readonly type: "uri";
901
+ readonly predicate: string;
902
+ readonly description: "Proposed formal resource class such as Idea, Evidence, Note, Decision, Preference, Link, or ContactInfo.";
903
+ };
904
+ readonly suggestedTarget: {
905
+ readonly type: "uri";
906
+ readonly predicate: string;
907
+ readonly description: "Proposed folder, collection, project, task, issue, chat, or other scope.";
908
+ };
909
+ readonly confidence: {
910
+ readonly type: "string";
911
+ readonly predicate: string;
912
+ readonly description: "Classifier confidence: high, medium, or low.";
913
+ };
914
+ readonly reason: {
915
+ readonly type: "text";
916
+ readonly predicate: string;
917
+ readonly description: "Short rationale for why this source might be worth capturing.";
918
+ };
919
+ readonly status: {
920
+ readonly type: "string";
921
+ readonly predicate: string;
922
+ readonly description: "Candidate lifecycle status such as candidate, promoted, rejected, duplicate, ignored, or superseded.";
923
+ };
924
+ readonly sourceHash: {
925
+ readonly type: "string";
926
+ readonly predicate: string;
927
+ readonly description: "Optional source digest for duplicate detection.";
928
+ };
929
+ readonly chat: {
930
+ readonly type: "uri";
931
+ readonly predicate: string;
932
+ readonly references: {
933
+ readonly resource: "chat";
934
+ readonly key: "id";
935
+ };
936
+ readonly description: "Related chat command surface.";
937
+ };
938
+ readonly thread: {
939
+ readonly type: "uri";
940
+ readonly predicate: string;
941
+ readonly references: {
942
+ readonly resource: "thread";
943
+ readonly key: "id";
944
+ };
945
+ readonly description: "Related concrete thread/work site.";
946
+ };
947
+ readonly task: {
948
+ readonly type: "uri";
949
+ readonly predicate: string;
950
+ readonly references: {
951
+ readonly resource: "task";
952
+ readonly key: "id";
953
+ };
954
+ readonly description: "Related task.";
955
+ };
956
+ readonly run: {
957
+ readonly type: "uri";
958
+ readonly predicate: string;
959
+ readonly references: {
960
+ readonly resource: "run";
961
+ readonly key: "id";
962
+ };
963
+ readonly description: "Related run.";
964
+ };
965
+ readonly actor: {
966
+ readonly type: "uri";
967
+ readonly predicate: string;
968
+ readonly description: "Secretary, user, or worker that created the candidate.";
969
+ };
970
+ readonly metadata: {
971
+ readonly type: "json";
972
+ readonly predicate: string;
973
+ readonly description: "Opaque adapter-local metadata; shared relations must be explicit fields.";
974
+ };
975
+ readonly createdAt: {
976
+ readonly type: "timestamp";
977
+ readonly predicate: string;
978
+ readonly description: "Creation timestamp.";
979
+ };
980
+ readonly updatedAt: {
981
+ readonly type: "timestamp";
982
+ readonly predicate: string;
983
+ readonly description: "Last update timestamp.";
984
+ };
985
+ }>;
986
+ export declare const captureEventDescriptor: PodModelDescriptorWithFields<{
987
+ readonly id: {
988
+ readonly type: "string";
989
+ readonly predicate: string;
990
+ readonly required: true;
991
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
992
+ };
993
+ readonly source: {
994
+ readonly type: "uri";
995
+ readonly predicate: string;
996
+ readonly required: true;
997
+ readonly description: "Original message, file, URL, fetched document, or resource considered by capture.";
998
+ };
999
+ readonly captureCandidate: {
1000
+ readonly type: "uri";
1001
+ readonly predicate: string;
1002
+ readonly references: {
1003
+ readonly resource: "capture-candidate";
1004
+ readonly key: "id";
1005
+ };
1006
+ readonly description: "Candidate resource involved in this event, when applicable.";
1007
+ };
1008
+ readonly targetResource: {
1009
+ readonly type: "uri";
1010
+ readonly predicate: string;
1011
+ readonly description: "Formal resource affected by this capture decision.";
1012
+ };
1013
+ readonly decision: {
1014
+ readonly type: "string";
1015
+ readonly predicate: string;
1016
+ readonly required: true;
1017
+ readonly description: "Decision such as direct_commit, optimistic_commit, candidate_created, promoted, rejected, corrected, rollback, duplicate, or ignored.";
1018
+ };
1019
+ readonly suggestedType: {
1020
+ readonly type: "uri";
1021
+ readonly predicate: string;
1022
+ readonly description: "Type suggested at decision time.";
1023
+ };
1024
+ readonly suggestedTarget: {
1025
+ readonly type: "uri";
1026
+ readonly predicate: string;
1027
+ readonly description: "Target suggested at decision time.";
1028
+ };
1029
+ readonly confidence: {
1030
+ readonly type: "string";
1031
+ readonly predicate: string;
1032
+ readonly description: "Classifier confidence at decision time.";
1033
+ };
1034
+ readonly reason: {
1035
+ readonly type: "text";
1036
+ readonly predicate: string;
1037
+ readonly description: "Explanation for the capture decision.";
1038
+ };
1039
+ readonly userCorrection: {
1040
+ readonly type: "text";
1041
+ readonly predicate: string;
1042
+ readonly description: "User correction to type, target, title, summary, or content.";
1043
+ };
1044
+ readonly approval: {
1045
+ readonly type: "uri";
1046
+ readonly predicate: string;
1047
+ readonly references: {
1048
+ readonly resource: "approval";
1049
+ readonly key: "id";
1050
+ };
1051
+ readonly description: "ApprovalRequest controlling an authority gate, if any.";
1052
+ };
1053
+ readonly inputRequest: {
1054
+ readonly type: "uri";
1055
+ readonly predicate: string;
1056
+ readonly references: {
1057
+ readonly resource: "input-request";
1058
+ readonly key: "id";
1059
+ };
1060
+ readonly description: "InputRequest controlling missing information, if any.";
1061
+ };
1062
+ readonly chat: {
1063
+ readonly type: "uri";
1064
+ readonly predicate: string;
1065
+ readonly references: {
1066
+ readonly resource: "chat";
1067
+ readonly key: "id";
1068
+ };
1069
+ readonly description: "Related chat command surface.";
1070
+ };
1071
+ readonly thread: {
1072
+ readonly type: "uri";
1073
+ readonly predicate: string;
1074
+ readonly references: {
1075
+ readonly resource: "thread";
1076
+ readonly key: "id";
1077
+ };
1078
+ readonly description: "Related concrete thread/work site.";
1079
+ };
1080
+ readonly task: {
1081
+ readonly type: "uri";
1082
+ readonly predicate: string;
1083
+ readonly references: {
1084
+ readonly resource: "task";
1085
+ readonly key: "id";
1086
+ };
1087
+ readonly description: "Related task.";
1088
+ };
1089
+ readonly run: {
1090
+ readonly type: "uri";
1091
+ readonly predicate: string;
1092
+ readonly references: {
1093
+ readonly resource: "run";
1094
+ readonly key: "id";
1095
+ };
1096
+ readonly description: "Related run.";
1097
+ };
1098
+ readonly actor: {
1099
+ readonly type: "uri";
1100
+ readonly predicate: string;
1101
+ readonly description: "Secretary, user, or worker that made or recorded the decision.";
1102
+ };
1103
+ readonly about: {
1104
+ readonly type: "uri";
1105
+ readonly predicate: string;
1106
+ readonly description: "Control object or semantic subject the event is about.";
1107
+ };
1108
+ readonly metadata: {
1109
+ readonly type: "json";
1110
+ readonly predicate: string;
1111
+ readonly description: "Opaque adapter-local metadata; shared relations must be explicit fields.";
1112
+ };
1113
+ readonly createdAt: {
1114
+ readonly type: "timestamp";
1115
+ readonly predicate: string;
1116
+ readonly description: "Creation timestamp.";
1117
+ };
1118
+ }>;
1119
+ export declare const contactDescriptor: PodModelDescriptorWithFields<{
1120
+ readonly id: {
1121
+ readonly type: "string";
1122
+ readonly predicate: string;
1123
+ readonly required: true;
1124
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1125
+ };
1126
+ readonly name: {
1127
+ readonly type: "string";
1128
+ readonly predicate: string;
1129
+ readonly required: true;
1130
+ readonly description: "Display name.";
1131
+ };
1132
+ readonly avatarUrl: {
1133
+ readonly type: "uri";
1134
+ readonly predicate: string;
1135
+ readonly description: "Avatar image URI.";
1136
+ };
1137
+ readonly about: {
1138
+ readonly type: "uri";
1139
+ readonly predicate: string;
1140
+ readonly required: true;
1141
+ readonly description: "Person, Agent, Chat, or external resource this contact card is about.";
1142
+ };
1143
+ readonly rdfType: {
1144
+ readonly type: "uri";
1145
+ readonly predicate: string;
1146
+ readonly required: true;
1147
+ readonly description: "Semantic classifier for the represented resource.";
1148
+ };
1149
+ readonly contactType: {
1150
+ readonly type: "string";
1151
+ readonly predicate: string;
1152
+ readonly required: true;
1153
+ readonly description: "Runtime/source hint for handler selection.";
1154
+ };
1155
+ readonly isPublic: {
1156
+ readonly type: "boolean";
1157
+ readonly predicate: string;
1158
+ readonly description: "Whether the contact is public.";
1159
+ };
1160
+ readonly externalPlatform: {
1161
+ readonly type: "string";
1162
+ readonly predicate: string;
1163
+ readonly description: "External platform namespace.";
1164
+ };
1165
+ readonly externalId: {
1166
+ readonly type: "string";
1167
+ readonly predicate: string;
1168
+ readonly description: "Opaque external platform id; not a resource relation.";
1169
+ };
1170
+ readonly alias: {
1171
+ readonly type: "string";
1172
+ readonly predicate: string;
1173
+ readonly description: "Private display alias.";
1174
+ };
1175
+ readonly starred: {
1176
+ readonly type: "boolean";
1177
+ readonly predicate: string;
1178
+ readonly description: "Favorite flag.";
1179
+ };
1180
+ readonly note: {
1181
+ readonly type: "text";
1182
+ readonly predicate: string;
1183
+ readonly description: "Private note.";
1184
+ };
1185
+ readonly sortKey: {
1186
+ readonly type: "string";
1187
+ readonly predicate: string;
1188
+ readonly description: "Stable sort key.";
1189
+ };
1190
+ readonly gender: {
1191
+ readonly type: "string";
1192
+ readonly predicate: string;
1193
+ readonly description: "Demographic hint.";
1194
+ };
1195
+ readonly province: {
1196
+ readonly type: "string";
1197
+ readonly predicate: string;
1198
+ readonly description: "Region.";
1199
+ };
1200
+ readonly city: {
1201
+ readonly type: "string";
1202
+ readonly predicate: string;
1203
+ readonly description: "Locality.";
1204
+ };
1205
+ readonly deletedAt: {
1206
+ readonly type: "timestamp";
1207
+ readonly predicate: string;
1208
+ readonly description: "Deletion timestamp.";
1209
+ };
1210
+ readonly lastSyncedAt: {
1211
+ readonly type: "timestamp";
1212
+ readonly predicate: string;
1213
+ readonly description: "Last sync timestamp.";
1214
+ };
1215
+ }>;
1216
+ export declare const chatDescriptor: PodModelDescriptorWithFields<{
1217
+ readonly id: {
1218
+ readonly type: "string";
1219
+ readonly predicate: string;
1220
+ readonly required: true;
1221
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1222
+ };
1223
+ readonly title: {
1224
+ readonly type: "string";
1225
+ readonly predicate: string;
1226
+ readonly required: true;
1227
+ readonly description: "Chat title.";
1228
+ };
1229
+ readonly description: {
1230
+ readonly type: "string";
1231
+ readonly predicate: string;
1232
+ readonly description: "Chat description.";
1233
+ };
1234
+ readonly avatarUrl: {
1235
+ readonly type: "uri";
1236
+ readonly predicate: string;
1237
+ readonly description: "Avatar image URI.";
1238
+ };
1239
+ readonly author: {
1240
+ readonly type: "uri";
1241
+ readonly predicate: string;
1242
+ readonly description: "Creator WebID or agent URI.";
1243
+ };
1244
+ readonly status: {
1245
+ readonly type: "string";
1246
+ readonly predicate: string;
1247
+ readonly description: "Chat lifecycle status.";
1248
+ };
1249
+ readonly starred: {
1250
+ readonly type: "boolean";
1251
+ readonly predicate: string;
1252
+ readonly description: "Favorite flag.";
1253
+ };
1254
+ readonly muted: {
1255
+ readonly type: "boolean";
1256
+ readonly predicate: string;
1257
+ readonly description: "Muted flag.";
1258
+ };
1259
+ readonly unreadCount: {
1260
+ readonly type: "number";
1261
+ readonly predicate: string;
1262
+ readonly description: "Unread message count.";
1263
+ };
1264
+ readonly contact: {
1265
+ readonly type: "uri";
1266
+ readonly predicate: string;
1267
+ readonly references: {
1268
+ readonly resource: "contact";
1269
+ readonly key: "id";
1270
+ };
1271
+ readonly description: "Optional counterpart/contact represented by this channel.";
1272
+ };
1273
+ readonly participants: {
1274
+ readonly type: "uri";
1275
+ readonly predicate: string;
1276
+ readonly array: true;
1277
+ readonly description: "Participant resource URIs.";
1278
+ };
1279
+ readonly metadata: {
1280
+ readonly type: "json";
1281
+ readonly predicate: string;
1282
+ readonly description: "Opaque adapter/UI metadata.";
1283
+ };
1284
+ readonly lastActiveAt: {
1285
+ readonly type: "timestamp";
1286
+ readonly predicate: string;
1287
+ readonly description: "Last activity timestamp.";
1288
+ };
1289
+ readonly lastMessage: {
1290
+ readonly type: "uri";
1291
+ readonly predicate: string;
1292
+ readonly description: "Latest message pointer.";
1293
+ };
1294
+ readonly lastMessagePreview: {
1295
+ readonly type: "text";
1296
+ readonly predicate: string;
1297
+ readonly description: "Latest message preview.";
1298
+ };
1299
+ }>;
1300
+ export declare const threadDescriptor: PodModelDescriptorWithFields<{
1301
+ readonly id: {
1302
+ readonly type: "string";
1303
+ readonly predicate: string;
1304
+ readonly required: true;
1305
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1306
+ };
1307
+ readonly parent: {
1308
+ readonly type: "uri";
1309
+ readonly predicate: string;
1310
+ readonly required: true;
1311
+ readonly description: "Parent command surface/container.";
1312
+ };
1313
+ readonly title: {
1314
+ readonly type: "string";
1315
+ readonly predicate: string;
1316
+ readonly description: "Thread title.";
1317
+ };
1318
+ readonly status: {
1319
+ readonly type: "string";
1320
+ readonly predicate: string;
1321
+ readonly description: "Thread lifecycle status.";
1322
+ };
1323
+ readonly starred: {
1324
+ readonly type: "boolean";
1325
+ readonly predicate: string;
1326
+ readonly description: "Favorite flag.";
1327
+ };
1328
+ readonly workspace: {
1329
+ readonly type: "uri";
1330
+ readonly predicate: string;
1331
+ readonly description: "Storage-layer workspace/container URI.";
1332
+ };
1333
+ readonly metadata: {
1334
+ readonly type: "json";
1335
+ readonly predicate: string;
1336
+ readonly description: "Opaque adapter/UI metadata.";
1337
+ };
1338
+ }>;
1339
+ export declare const messageDescriptor: PodModelDescriptorWithFields<{
1340
+ readonly id: {
1341
+ readonly type: "string";
1342
+ readonly predicate: string;
1343
+ readonly required: true;
1344
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1345
+ };
1346
+ readonly parent: {
1347
+ readonly type: "uri";
1348
+ readonly predicate: string;
1349
+ readonly required: true;
1350
+ readonly description: "Parent command surface/container URI.";
1351
+ };
1352
+ readonly chat: {
1353
+ readonly type: "uri";
1354
+ readonly predicate: string;
1355
+ readonly references: {
1356
+ readonly resource: "chat";
1357
+ readonly key: "id";
1358
+ };
1359
+ readonly description: "Solid Chat compatibility containment relation.";
1360
+ };
1361
+ readonly thread: {
1362
+ readonly type: "uri";
1363
+ readonly predicate: string;
1364
+ readonly references: {
1365
+ readonly resource: "thread";
1366
+ readonly key: "id";
1367
+ };
1368
+ readonly description: "Thread containment relation.";
1369
+ };
1370
+ readonly maker: {
1371
+ readonly type: "uri";
1372
+ readonly predicate: string;
1373
+ readonly description: "Author resource IRI.";
1374
+ };
1375
+ readonly role: {
1376
+ readonly type: "string";
1377
+ readonly predicate: string;
1378
+ readonly description: "Message role.";
1379
+ };
1380
+ readonly content: {
1381
+ readonly type: "text";
1382
+ readonly predicate: string;
1383
+ readonly required: true;
1384
+ readonly description: "Plain text content.";
1385
+ };
1386
+ readonly richContent: {
1387
+ readonly type: "text";
1388
+ readonly predicate: string;
1389
+ readonly description: "Structured/rich content payload.";
1390
+ };
1391
+ readonly status: {
1392
+ readonly type: "string";
1393
+ readonly predicate: string;
1394
+ readonly description: "Message lifecycle status.";
1395
+ };
1396
+ readonly toolName: {
1397
+ readonly type: "string";
1398
+ readonly predicate: string;
1399
+ readonly description: "Tool name for tool messages.";
1400
+ };
1401
+ readonly toolCallId: {
1402
+ readonly type: "string";
1403
+ readonly predicate: string;
1404
+ readonly description: "Opaque tool call id; not a resource relation.";
1405
+ };
1406
+ readonly metadata: {
1407
+ readonly type: "json";
1408
+ readonly predicate: string;
1409
+ readonly description: "Opaque adapter/UI metadata.";
1410
+ };
1411
+ readonly replacedBy: {
1412
+ readonly type: "string";
1413
+ readonly predicate: string;
1414
+ readonly description: "Replacement message reference.";
1415
+ };
1416
+ readonly deletedAt: {
1417
+ readonly type: "timestamp";
1418
+ readonly predicate: string;
1419
+ readonly description: "Deletion timestamp.";
1420
+ };
1421
+ readonly senderName: {
1422
+ readonly type: "string";
1423
+ readonly predicate: string;
1424
+ readonly description: "Display sender name.";
1425
+ };
1426
+ readonly senderAvatarUrl: {
1427
+ readonly type: "uri";
1428
+ readonly predicate: string;
1429
+ readonly description: "Display sender avatar.";
1430
+ };
1431
+ readonly mentions: {
1432
+ readonly type: "uri";
1433
+ readonly predicate: string;
1434
+ readonly array: true;
1435
+ readonly description: "Mentioned resource URIs.";
1436
+ };
1437
+ readonly replyTo: {
1438
+ readonly type: "uri";
1439
+ readonly predicate: string;
1440
+ readonly description: "Original message URI.";
1441
+ };
1442
+ readonly routedBy: {
1443
+ readonly type: "uri";
1444
+ readonly predicate: string;
1445
+ readonly description: "Routing agent URI.";
1446
+ };
1447
+ readonly routeTargetAgent: {
1448
+ readonly type: "uri";
1449
+ readonly predicate: string;
1450
+ readonly description: "Target agent URI.";
1451
+ };
1452
+ readonly coordinationId: {
1453
+ readonly type: "string";
1454
+ readonly predicate: string;
1455
+ readonly description: "Opaque multi-agent coordination id.";
1456
+ };
1457
+ }>;
1458
+ export declare const chatProjectContextDescriptor: PodModelDescriptorWithFields<{
1459
+ readonly id: {
1460
+ readonly type: "string";
1461
+ readonly predicate: string;
1462
+ readonly required: true;
1463
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1464
+ };
1465
+ readonly workspace: {
1466
+ readonly type: "uri";
1467
+ readonly predicate: string;
1468
+ readonly required: true;
1469
+ readonly description: "Workspace URI that owns this context.";
1470
+ };
1471
+ readonly instructions: {
1472
+ readonly type: "text";
1473
+ readonly predicate: string;
1474
+ readonly description: "User-maintained project instructions.";
1475
+ };
1476
+ readonly memoryEnabled: {
1477
+ readonly type: "boolean";
1478
+ readonly predicate: string;
1479
+ readonly description: "Whether explicit project memories may be injected into model context.";
1480
+ };
1481
+ readonly createdAt: {
1482
+ readonly type: "timestamp";
1483
+ readonly predicate: string;
1484
+ readonly description: "Creation timestamp.";
1485
+ };
1486
+ readonly updatedAt: {
1487
+ readonly type: "timestamp";
1488
+ readonly predicate: string;
1489
+ readonly description: "Last modification timestamp.";
1490
+ };
1491
+ }>;
1492
+ export declare const chatProjectMemoryDescriptor: PodModelDescriptorWithFields<{
1493
+ readonly id: {
1494
+ readonly type: "string";
1495
+ readonly predicate: string;
1496
+ readonly required: true;
1497
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1498
+ };
1499
+ readonly workspace: {
1500
+ readonly type: "uri";
1501
+ readonly predicate: string;
1502
+ readonly required: true;
1503
+ readonly description: "Workspace URI that owns this memory.";
1504
+ };
1505
+ readonly text: {
1506
+ readonly type: "text";
1507
+ readonly predicate: string;
1508
+ readonly required: true;
1509
+ readonly description: "Explicit memory text.";
1510
+ };
1511
+ readonly sourceMessage: {
1512
+ readonly type: "uri";
1513
+ readonly predicate: string;
1514
+ readonly description: "Optional source message URI.";
1515
+ };
1516
+ readonly createdAt: {
1517
+ readonly type: "timestamp";
1518
+ readonly predicate: string;
1519
+ readonly description: "Creation timestamp.";
1520
+ };
1521
+ readonly updatedAt: {
1522
+ readonly type: "timestamp";
1523
+ readonly predicate: string;
1524
+ readonly description: "Last modification timestamp.";
1525
+ };
1526
+ }>;
1527
+ export declare const conversationShareDescriptor: PodModelDescriptorWithFields<{
1528
+ readonly id: {
1529
+ readonly type: "string";
1530
+ readonly predicate: string;
1531
+ readonly required: true;
1532
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1533
+ };
1534
+ readonly thread: {
1535
+ readonly type: "uri";
1536
+ readonly predicate: string;
1537
+ readonly required: true;
1538
+ readonly description: "Shared thread URI.";
1539
+ };
1540
+ readonly resourceUrl: {
1541
+ readonly type: "uri";
1542
+ readonly predicate: string;
1543
+ readonly required: true;
1544
+ readonly description: "Public read-only HTML resource URL.";
1545
+ };
1546
+ readonly includeToolDetails: {
1547
+ readonly type: "boolean";
1548
+ readonly predicate: string;
1549
+ readonly description: "Whether sanitized tool details were included.";
1550
+ };
1551
+ readonly excludedMessageIds: {
1552
+ readonly type: "string";
1553
+ readonly predicate: string;
1554
+ readonly array: true;
1555
+ readonly description: "Messages excluded by the user before sharing.";
1556
+ };
1557
+ readonly createdAt: {
1558
+ readonly type: "timestamp";
1559
+ readonly predicate: string;
1560
+ readonly description: "Creation timestamp.";
1561
+ };
1562
+ readonly revokedAt: {
1563
+ readonly type: "timestamp";
1564
+ readonly predicate: string;
1565
+ readonly description: "Revocation timestamp.";
1566
+ };
1567
+ }>;
1568
+ export declare const ideaDescriptor: PodModelDescriptorWithFields<{
1569
+ readonly id: {
1570
+ readonly type: "string";
1571
+ readonly predicate: string;
1572
+ readonly required: true;
1573
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1574
+ };
1575
+ readonly summary: {
1576
+ readonly type: "string";
1577
+ readonly predicate: string;
1578
+ readonly required: true;
1579
+ readonly description: "Short summary of the idea.";
1580
+ };
1581
+ readonly document: {
1582
+ readonly type: "uri";
1583
+ readonly predicate: string;
1584
+ readonly description: "Pod file that owns the idea body.";
1585
+ };
1586
+ readonly input: {
1587
+ readonly type: "text";
1588
+ readonly predicate: string;
1589
+ readonly description: "Original or synthesized input text.";
1590
+ };
1591
+ readonly status: {
1592
+ readonly type: "string";
1593
+ readonly predicate: string;
1594
+ readonly description: "Idea lifecycle status.";
1595
+ };
1596
+ readonly commitment: {
1597
+ readonly type: "string";
1598
+ readonly predicate: string;
1599
+ readonly description: "Commitment level such as thought, direction, tentative_decision, or committed.";
1600
+ };
1601
+ readonly affectedArea: {
1602
+ readonly type: "string";
1603
+ readonly predicate: string;
1604
+ readonly description: "System or product area the idea may affect.";
1605
+ };
1606
+ readonly currentUnderstanding: {
1607
+ readonly type: "text";
1608
+ readonly predicate: string;
1609
+ readonly description: "Current synthesized understanding.";
1610
+ };
1611
+ readonly openQuestions: {
1612
+ readonly type: "text";
1613
+ readonly predicate: string;
1614
+ readonly array: true;
1615
+ readonly description: "Open questions before promotion.";
1616
+ };
1617
+ readonly related: {
1618
+ readonly type: "uri";
1619
+ readonly predicate: string;
1620
+ readonly array: true;
1621
+ readonly description: "Related control records or resources.";
1622
+ };
1623
+ readonly conflicts: {
1624
+ readonly type: "text";
1625
+ readonly predicate: string;
1626
+ readonly array: true;
1627
+ readonly description: "Potential semantic conflicts.";
1628
+ };
1629
+ readonly nextStep: {
1630
+ readonly type: "text";
1631
+ readonly predicate: string;
1632
+ readonly description: "Suggested next action.";
1633
+ };
1634
+ readonly promotedTo: {
1635
+ readonly type: "uri";
1636
+ readonly predicate: string;
1637
+ readonly description: "Committed resource created from the idea.";
1638
+ };
1639
+ readonly chat: {
1640
+ readonly type: "uri";
1641
+ readonly predicate: string;
1642
+ readonly references: {
1643
+ readonly resource: "chat";
1644
+ readonly key: "id";
1645
+ };
1646
+ readonly description: "Source chat.";
1647
+ };
1648
+ readonly thread: {
1649
+ readonly type: "uri";
1650
+ readonly predicate: string;
1651
+ readonly references: {
1652
+ readonly resource: "thread";
1653
+ readonly key: "id";
1654
+ };
1655
+ readonly description: "Source thread.";
1656
+ };
1657
+ readonly sourceMessages: {
1658
+ readonly type: "uri";
1659
+ readonly predicate: string;
1660
+ readonly array: true;
1661
+ readonly description: "Source messages.";
1662
+ };
1663
+ readonly createdBy: {
1664
+ readonly type: "uri";
1665
+ readonly predicate: string;
1666
+ readonly description: "Creator WebID or agent URI.";
1667
+ };
1668
+ readonly metadata: {
1669
+ readonly type: "json";
1670
+ readonly predicate: string;
1671
+ readonly description: "Opaque adapter metadata.";
1672
+ };
1673
+ }>;
1674
+ export declare const issueDescriptor: PodModelDescriptorWithFields<{
1675
+ readonly id: {
1676
+ readonly type: "string";
1677
+ readonly predicate: string;
1678
+ readonly required: true;
1679
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1680
+ };
1681
+ readonly title: {
1682
+ readonly type: "string";
1683
+ readonly predicate: string;
1684
+ readonly required: true;
1685
+ readonly description: "Compact issue label for list/search surfaces; the file owns the full title/body.";
1686
+ };
1687
+ readonly document: {
1688
+ readonly type: "uri";
1689
+ readonly predicate: string;
1690
+ readonly description: "Pod file that owns the issue body.";
1691
+ };
1692
+ readonly description: {
1693
+ readonly type: "text";
1694
+ readonly predicate: string;
1695
+ readonly description: "Issue description.";
1696
+ };
1697
+ readonly status: {
1698
+ readonly type: "string";
1699
+ readonly predicate: string;
1700
+ readonly description: "Issue lifecycle status.";
1701
+ };
1702
+ readonly priority: {
1703
+ readonly type: "string";
1704
+ readonly predicate: string;
1705
+ readonly description: "Issue priority.";
1706
+ };
1707
+ readonly labels: {
1708
+ readonly type: "text";
1709
+ readonly predicate: string;
1710
+ readonly array: true;
1711
+ readonly description: "Tags or labels.";
1712
+ };
1713
+ readonly chat: {
1714
+ readonly type: "uri";
1715
+ readonly predicate: string;
1716
+ readonly references: {
1717
+ readonly resource: "chat";
1718
+ readonly key: "id";
1719
+ };
1720
+ readonly description: "Owning or source chat.";
1721
+ };
1722
+ readonly thread: {
1723
+ readonly type: "uri";
1724
+ readonly predicate: string;
1725
+ readonly references: {
1726
+ readonly resource: "thread";
1727
+ readonly key: "id";
1728
+ };
1729
+ readonly description: "Owning or source thread.";
1730
+ };
1731
+ readonly parentIssue: {
1732
+ readonly type: "uri";
1733
+ readonly predicate: string;
1734
+ readonly references: {
1735
+ readonly resource: "issue";
1736
+ readonly key: "id";
1737
+ };
1738
+ readonly description: "Parent issue.";
1739
+ };
1740
+ readonly tasks: {
1741
+ readonly type: "uri";
1742
+ readonly predicate: string;
1743
+ readonly array: true;
1744
+ readonly description: "Executable task slices.";
1745
+ };
1746
+ readonly createdBy: {
1747
+ readonly type: "uri";
1748
+ readonly predicate: string;
1749
+ readonly description: "Creator WebID or agent URI.";
1750
+ };
1751
+ readonly assignedTo: {
1752
+ readonly type: "uri";
1753
+ readonly predicate: string;
1754
+ readonly description: "Assignee WebID or agent URI.";
1755
+ };
1756
+ readonly closedAt: {
1757
+ readonly type: "timestamp";
1758
+ readonly predicate: string;
1759
+ readonly description: "Closure timestamp.";
1760
+ };
1761
+ readonly deletedAt: {
1762
+ readonly type: "timestamp";
1763
+ readonly predicate: string;
1764
+ readonly description: "Deletion timestamp.";
1765
+ };
1766
+ }>;
1767
+ export declare const taskDescriptor: PodModelDescriptorWithFields<{
1768
+ readonly id: {
1769
+ readonly type: "string";
1770
+ readonly predicate: string;
1771
+ readonly required: true;
1772
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1773
+ };
1774
+ readonly title: {
1775
+ readonly type: "string";
1776
+ readonly predicate: string;
1777
+ readonly description: "Task title.";
1778
+ };
1779
+ readonly instruction: {
1780
+ readonly type: "text";
1781
+ readonly predicate: string;
1782
+ readonly required: true;
1783
+ readonly description: "Executable instruction.";
1784
+ };
1785
+ readonly prompt: {
1786
+ readonly type: "text";
1787
+ readonly predicate: string;
1788
+ readonly description: "Runtime prompt projection.";
1789
+ };
1790
+ readonly issue: {
1791
+ readonly type: "uri";
1792
+ readonly predicate: string;
1793
+ readonly references: {
1794
+ readonly resource: "issue";
1795
+ readonly key: "id";
1796
+ };
1797
+ readonly description: "Originating issue.";
1798
+ };
1799
+ readonly message: {
1800
+ readonly type: "uri";
1801
+ readonly predicate: string;
1802
+ readonly description: "Message that produced this task.";
1803
+ };
1804
+ readonly workspace: {
1805
+ readonly type: "uri";
1806
+ readonly predicate: string;
1807
+ readonly required: true;
1808
+ readonly description: "Workspace URI.";
1809
+ };
1810
+ readonly status: {
1811
+ readonly type: "string";
1812
+ readonly predicate: string;
1813
+ readonly description: "Task lifecycle status.";
1814
+ };
1815
+ readonly priority: {
1816
+ readonly type: "string";
1817
+ readonly predicate: string;
1818
+ readonly description: "Priority.";
1819
+ };
1820
+ readonly assignedTo: {
1821
+ readonly type: "uri";
1822
+ readonly predicate: string;
1823
+ readonly description: "Assignee WebID or agent URI.";
1824
+ };
1825
+ readonly source: {
1826
+ readonly type: "uri";
1827
+ readonly predicate: string;
1828
+ readonly description: "Source resource.";
1829
+ };
1830
+ readonly metadata: {
1831
+ readonly type: "json";
1832
+ readonly predicate: string;
1833
+ readonly description: "Opaque adapter metadata.";
1834
+ };
1835
+ }>;
1836
+ export declare const scheduleDescriptor: PodModelDescriptorWithFields<{
1837
+ readonly id: {
1838
+ readonly type: "string";
1839
+ readonly predicate: string;
1840
+ readonly required: true;
1841
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1842
+ };
1843
+ readonly task: {
1844
+ readonly type: "uri";
1845
+ readonly predicate: string;
1846
+ readonly references: {
1847
+ readonly resource: "task";
1848
+ readonly key: "id";
1849
+ };
1850
+ readonly required: true;
1851
+ readonly description: "Scheduled task.";
1852
+ };
1853
+ readonly status: {
1854
+ readonly type: "string";
1855
+ readonly predicate: string;
1856
+ readonly description: "Schedule lifecycle status.";
1857
+ };
1858
+ readonly scheduleKind: {
1859
+ readonly type: "string";
1860
+ readonly predicate: string;
1861
+ readonly description: "Schedule kind: once, interval, or cron.";
1862
+ };
1863
+ readonly cron: {
1864
+ readonly type: "string";
1865
+ readonly predicate: string;
1866
+ readonly description: "Cron expression.";
1867
+ };
1868
+ readonly intervalSeconds: {
1869
+ readonly type: "number";
1870
+ readonly predicate: string;
1871
+ readonly description: "Interval in seconds.";
1872
+ };
1873
+ readonly timezone: {
1874
+ readonly type: "string";
1875
+ readonly predicate: string;
1876
+ readonly description: "Timezone.";
1877
+ };
1878
+ readonly startsAt: {
1879
+ readonly type: "timestamp";
1880
+ readonly predicate: string;
1881
+ readonly description: "Start timestamp.";
1882
+ };
1883
+ readonly nextRunAt: {
1884
+ readonly type: "timestamp";
1885
+ readonly predicate: string;
1886
+ readonly description: "Next run timestamp.";
1887
+ };
1888
+ readonly lastRunAt: {
1889
+ readonly type: "timestamp";
1890
+ readonly predicate: string;
1891
+ readonly description: "Last run timestamp.";
1892
+ };
1893
+ readonly metadata: {
1894
+ readonly type: "json";
1895
+ readonly predicate: string;
1896
+ readonly description: "Opaque adapter metadata.";
1897
+ };
1898
+ }>;
1899
+ export declare const automationRuleDescriptor: PodModelDescriptorWithFields<{
1900
+ readonly id: {
1901
+ readonly type: "string";
1902
+ readonly predicate: string;
1903
+ readonly required: true;
1904
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1905
+ };
1906
+ readonly title: {
1907
+ readonly type: "string";
1908
+ readonly predicate: string;
1909
+ readonly required: true;
1910
+ readonly description: "Rule title.";
1911
+ };
1912
+ readonly description: {
1913
+ readonly type: "text";
1914
+ readonly predicate: string;
1915
+ readonly description: "Rule description.";
1916
+ };
1917
+ readonly status: {
1918
+ readonly type: "string";
1919
+ readonly predicate: string;
1920
+ readonly description: "Rule lifecycle status.";
1921
+ };
1922
+ readonly ruleKind: {
1923
+ readonly type: "string";
1924
+ readonly predicate: string;
1925
+ readonly description: "Rule kind: event, schedule, or manual.";
1926
+ };
1927
+ readonly task: {
1928
+ readonly type: "uri";
1929
+ readonly predicate: string;
1930
+ readonly references: {
1931
+ readonly resource: "task";
1932
+ readonly key: "id";
1933
+ };
1934
+ readonly description: "Task dispatched by this rule.";
1935
+ };
1936
+ readonly schedule: {
1937
+ readonly type: "uri";
1938
+ readonly predicate: string;
1939
+ readonly references: {
1940
+ readonly resource: "schedule";
1941
+ readonly key: "id";
1942
+ };
1943
+ readonly description: "Schedule that triggers this rule.";
1944
+ };
1945
+ readonly source: {
1946
+ readonly type: "uri";
1947
+ readonly predicate: string;
1948
+ readonly description: "Source resource.";
1949
+ };
1950
+ readonly target: {
1951
+ readonly type: "uri";
1952
+ readonly predicate: string;
1953
+ readonly description: "Target resource.";
1954
+ };
1955
+ readonly condition: {
1956
+ readonly type: "json";
1957
+ readonly predicate: string;
1958
+ readonly description: "Structured condition.";
1959
+ };
1960
+ readonly actions: {
1961
+ readonly type: "json";
1962
+ readonly predicate: string;
1963
+ readonly description: "Structured actions.";
1964
+ };
1965
+ readonly metadata: {
1966
+ readonly type: "json";
1967
+ readonly predicate: string;
1968
+ readonly description: "Opaque adapter metadata.";
1969
+ };
1970
+ readonly lastTriggeredAt: {
1971
+ readonly type: "timestamp";
1972
+ readonly predicate: string;
1973
+ readonly description: "Last trigger timestamp.";
1974
+ };
1975
+ readonly lastRunStatus: {
1976
+ readonly type: "string";
1977
+ readonly predicate: string;
1978
+ readonly description: "Last run status.";
1979
+ };
1980
+ }>;
1981
+ export declare const deliveryDescriptor: PodModelDescriptorWithFields<{
1982
+ readonly id: {
1983
+ readonly type: "string";
1984
+ readonly predicate: string;
1985
+ readonly required: true;
1986
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
1987
+ };
1988
+ readonly kind: {
1989
+ readonly type: "string";
1990
+ readonly predicate: string;
1991
+ readonly description: "Delivery kind.";
1992
+ };
1993
+ readonly status: {
1994
+ readonly type: "string";
1995
+ readonly predicate: string;
1996
+ readonly description: "Delivery lifecycle status.";
1997
+ };
1998
+ readonly task: {
1999
+ readonly type: "uri";
2000
+ readonly predicate: string;
2001
+ readonly references: {
2002
+ readonly resource: "task";
2003
+ readonly key: "id";
2004
+ };
2005
+ readonly description: "Task being delivered.";
2006
+ };
2007
+ readonly source: {
2008
+ readonly type: "uri";
2009
+ readonly predicate: string;
2010
+ readonly description: "Source resource.";
2011
+ };
2012
+ readonly target: {
2013
+ readonly type: "uri";
2014
+ readonly predicate: string;
2015
+ readonly description: "Target resource.";
2016
+ };
2017
+ readonly chat: {
2018
+ readonly type: "uri";
2019
+ readonly predicate: string;
2020
+ readonly references: {
2021
+ readonly resource: "chat";
2022
+ readonly key: "id";
2023
+ };
2024
+ readonly description: "Related chat.";
2025
+ };
2026
+ readonly thread: {
2027
+ readonly type: "uri";
2028
+ readonly predicate: string;
2029
+ readonly references: {
2030
+ readonly resource: "thread";
2031
+ readonly key: "id";
2032
+ };
2033
+ readonly description: "Source thread.";
2034
+ };
2035
+ readonly targetThread: {
2036
+ readonly type: "uri";
2037
+ readonly predicate: string;
2038
+ readonly references: {
2039
+ readonly resource: "thread";
2040
+ readonly key: "id";
2041
+ };
2042
+ readonly description: "Target thread.";
2043
+ };
2044
+ readonly targetSession: {
2045
+ readonly type: "uri";
2046
+ readonly predicate: string;
2047
+ readonly description: "Target session.";
2048
+ };
2049
+ readonly actor: {
2050
+ readonly type: "uri";
2051
+ readonly predicate: string;
2052
+ readonly description: "Actor.";
2053
+ };
2054
+ readonly object: {
2055
+ readonly type: "uri";
2056
+ readonly predicate: string;
2057
+ readonly description: "Object resource.";
2058
+ };
2059
+ readonly objective: {
2060
+ readonly type: "text";
2061
+ readonly predicate: string;
2062
+ readonly description: "Short objective.";
2063
+ };
2064
+ readonly payload: {
2065
+ readonly type: "json";
2066
+ readonly predicate: string;
2067
+ readonly description: "Structured payload.";
2068
+ };
2069
+ readonly projection: {
2070
+ readonly type: "json";
2071
+ readonly predicate: string;
2072
+ readonly description: "Runtime projection.";
2073
+ };
2074
+ readonly projectedRole: {
2075
+ readonly type: "string";
2076
+ readonly predicate: string;
2077
+ readonly description: "Projected runtime role.";
2078
+ };
2079
+ readonly metadata: {
2080
+ readonly type: "json";
2081
+ readonly predicate: string;
2082
+ readonly description: "Opaque adapter metadata.";
2083
+ };
2084
+ readonly error: {
2085
+ readonly type: "text";
2086
+ readonly predicate: string;
2087
+ readonly description: "Failure detail.";
2088
+ };
2089
+ readonly dispatchedAt: {
2090
+ readonly type: "timestamp";
2091
+ readonly predicate: string;
2092
+ readonly description: "Dispatch timestamp.";
2093
+ };
2094
+ readonly consumedAt: {
2095
+ readonly type: "timestamp";
2096
+ readonly predicate: string;
2097
+ readonly description: "Consumption timestamp.";
2098
+ };
2099
+ readonly completedAt: {
2100
+ readonly type: "timestamp";
2101
+ readonly predicate: string;
2102
+ readonly description: "Completion timestamp.";
2103
+ };
2104
+ }>;
2105
+ export declare const runDescriptor: PodModelDescriptorWithFields<{
2106
+ readonly id: {
2107
+ readonly type: "string";
2108
+ readonly predicate: string;
2109
+ readonly required: true;
2110
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
2111
+ };
2112
+ readonly task: {
2113
+ readonly type: "uri";
2114
+ readonly predicate: string;
2115
+ readonly references: {
2116
+ readonly resource: "task";
2117
+ readonly key: "id";
2118
+ };
2119
+ readonly description: "Task being executed.";
2120
+ };
2121
+ readonly delivery: {
2122
+ readonly type: "uri";
2123
+ readonly predicate: string;
2124
+ readonly references: {
2125
+ readonly resource: "delivery";
2126
+ readonly key: "id";
2127
+ };
2128
+ readonly description: "Delivery that caused or carries this run.";
2129
+ };
2130
+ readonly trigger: {
2131
+ readonly type: "uri";
2132
+ readonly predicate: string;
2133
+ readonly description: "Resource that triggered the run.";
2134
+ };
2135
+ readonly input: {
2136
+ readonly type: "uri";
2137
+ readonly predicate: string;
2138
+ readonly description: "Concrete input/context projection resource.";
2139
+ };
2140
+ readonly thread: {
2141
+ readonly type: "uri";
2142
+ readonly predicate: string;
2143
+ readonly references: {
2144
+ readonly resource: "thread";
2145
+ readonly key: "id";
2146
+ };
2147
+ readonly required: true;
2148
+ readonly description: "Runtime thread.";
2149
+ };
2150
+ readonly workspace: {
2151
+ readonly type: "uri";
2152
+ readonly predicate: string;
2153
+ readonly required: true;
2154
+ readonly description: "Workspace URI.";
2155
+ };
2156
+ readonly status: {
2157
+ readonly type: "string";
2158
+ readonly predicate: string;
2159
+ readonly description: "Run lifecycle status.";
2160
+ };
2161
+ readonly runner: {
2162
+ readonly type: "string";
2163
+ readonly predicate: string;
2164
+ readonly required: true;
2165
+ readonly description: "Runtime implementation.";
2166
+ };
2167
+ readonly prompt: {
2168
+ readonly type: "string";
2169
+ readonly predicate: string;
2170
+ readonly description: "Prompt or prompt version.";
2171
+ };
2172
+ readonly externalRunId: {
2173
+ readonly type: "string";
2174
+ readonly predicate: string;
2175
+ readonly description: "Opaque external runtime id; not a resource relation.";
2176
+ };
2177
+ readonly leaseOwner: {
2178
+ readonly type: "string";
2179
+ readonly predicate: string;
2180
+ readonly description: "Lease owner.";
2181
+ };
2182
+ readonly leaseExpiresAt: {
2183
+ readonly type: "timestamp";
2184
+ readonly predicate: string;
2185
+ readonly description: "Lease expiration timestamp.";
2186
+ };
2187
+ readonly heartbeatAt: {
2188
+ readonly type: "timestamp";
2189
+ readonly predicate: string;
2190
+ readonly description: "Heartbeat timestamp.";
2191
+ };
2192
+ readonly cancelRequestedAt: {
2193
+ readonly type: "timestamp";
2194
+ readonly predicate: string;
2195
+ readonly description: "Cancel request timestamp.";
2196
+ };
2197
+ readonly error: {
2198
+ readonly type: "string";
2199
+ readonly predicate: string;
2200
+ readonly description: "Failure detail.";
2201
+ };
2202
+ readonly metadata: {
2203
+ readonly type: "json";
2204
+ readonly predicate: string;
2205
+ readonly description: "Opaque adapter metadata.";
2206
+ };
2207
+ readonly startedAt: {
2208
+ readonly type: "timestamp";
2209
+ readonly predicate: string;
2210
+ readonly description: "Start timestamp.";
2211
+ };
2212
+ readonly completedAt: {
2213
+ readonly type: "timestamp";
2214
+ readonly predicate: string;
2215
+ readonly description: "Completion timestamp.";
2216
+ };
2217
+ }>;
2218
+ export declare const runStepDescriptor: PodModelDescriptorWithFields<{
2219
+ readonly id: {
2220
+ readonly type: "string";
2221
+ readonly predicate: string;
2222
+ readonly required: true;
2223
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
2224
+ };
2225
+ readonly run: {
2226
+ readonly type: "uri";
2227
+ readonly predicate: string;
2228
+ readonly references: {
2229
+ readonly resource: "run";
2230
+ readonly key: "id";
2231
+ };
2232
+ readonly required: true;
2233
+ readonly description: "Run this step belongs to.";
2234
+ };
2235
+ readonly stepType: {
2236
+ readonly type: "string";
2237
+ readonly predicate: string;
2238
+ readonly required: true;
2239
+ readonly description: "RunStep event type.";
2240
+ };
2241
+ readonly message: {
2242
+ readonly type: "string";
2243
+ readonly predicate: string;
2244
+ readonly description: "Human-readable step message.";
2245
+ };
2246
+ readonly payload: {
2247
+ readonly type: "json";
2248
+ readonly predicate: string;
2249
+ readonly description: "Structured step payload.";
2250
+ };
2251
+ }>;
2252
+ export declare const evidenceDescriptor: PodModelDescriptorWithFields<{
2253
+ readonly id: {
2254
+ readonly type: "string";
2255
+ readonly predicate: string;
2256
+ readonly required: true;
2257
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
2258
+ };
2259
+ readonly evidenceKind: {
2260
+ readonly type: "string";
2261
+ readonly predicate: string;
2262
+ readonly required: true;
2263
+ readonly description: "Evidence kind.";
2264
+ };
2265
+ readonly about: {
2266
+ readonly type: "uri";
2267
+ readonly predicate: string;
2268
+ readonly required: true;
2269
+ readonly description: "Control object this evidence supports.";
2270
+ };
2271
+ readonly issue: {
2272
+ readonly type: "uri";
2273
+ readonly predicate: string;
2274
+ readonly references: {
2275
+ readonly resource: "issue";
2276
+ readonly key: "id";
2277
+ };
2278
+ readonly description: "Related issue.";
2279
+ };
2280
+ readonly task: {
2281
+ readonly type: "uri";
2282
+ readonly predicate: string;
2283
+ readonly references: {
2284
+ readonly resource: "task";
2285
+ readonly key: "id";
2286
+ };
2287
+ readonly description: "Related task.";
2288
+ };
2289
+ readonly delivery: {
2290
+ readonly type: "uri";
2291
+ readonly predicate: string;
2292
+ readonly references: {
2293
+ readonly resource: "delivery";
2294
+ readonly key: "id";
2295
+ };
2296
+ readonly description: "Related delivery.";
2297
+ };
2298
+ readonly run: {
2299
+ readonly type: "uri";
2300
+ readonly predicate: string;
2301
+ readonly references: {
2302
+ readonly resource: "run";
2303
+ readonly key: "id";
2304
+ };
2305
+ readonly description: "Related run.";
2306
+ };
2307
+ readonly thread: {
2308
+ readonly type: "uri";
2309
+ readonly predicate: string;
2310
+ readonly references: {
2311
+ readonly resource: "thread";
2312
+ readonly key: "id";
2313
+ };
2314
+ readonly description: "Related thread.";
2315
+ };
2316
+ readonly summary: {
2317
+ readonly type: "text";
2318
+ readonly predicate: string;
2319
+ readonly description: "Evidence summary.";
2320
+ };
2321
+ readonly source: {
2322
+ readonly type: "uri";
2323
+ readonly predicate: string;
2324
+ readonly description: "Source artifact or document.";
2325
+ };
2326
+ readonly actor: {
2327
+ readonly type: "uri";
2328
+ readonly predicate: string;
2329
+ readonly description: "Actor that produced the evidence.";
2330
+ };
2331
+ readonly outcome: {
2332
+ readonly type: "string";
2333
+ readonly predicate: string;
2334
+ readonly description: "Evidence outcome.";
2335
+ };
2336
+ readonly metadata: {
2337
+ readonly type: "json";
2338
+ readonly predicate: string;
2339
+ readonly description: "Opaque adapter metadata.";
2340
+ };
2341
+ }>;
2342
+ export declare const reportDescriptor: PodModelDescriptorWithFields<{
2343
+ readonly id: {
2344
+ readonly type: "string";
2345
+ readonly predicate: string;
2346
+ readonly required: true;
2347
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
2348
+ };
2349
+ readonly reportKind: {
2350
+ readonly type: "string";
2351
+ readonly predicate: string;
2352
+ readonly required: true;
2353
+ readonly description: "Report kind.";
2354
+ };
2355
+ readonly status: {
2356
+ readonly type: "string";
2357
+ readonly predicate: string;
2358
+ readonly description: "Report lifecycle status.";
2359
+ };
2360
+ readonly outcome: {
2361
+ readonly type: "string";
2362
+ readonly predicate: string;
2363
+ readonly description: "Reported outcome.";
2364
+ };
2365
+ readonly about: {
2366
+ readonly type: "uri";
2367
+ readonly predicate: string;
2368
+ readonly required: true;
2369
+ readonly description: "Control object being summarized.";
2370
+ };
2371
+ readonly issue: {
2372
+ readonly type: "uri";
2373
+ readonly predicate: string;
2374
+ readonly references: {
2375
+ readonly resource: "issue";
2376
+ readonly key: "id";
2377
+ };
2378
+ readonly description: "Related issue.";
2379
+ };
2380
+ readonly task: {
2381
+ readonly type: "uri";
2382
+ readonly predicate: string;
2383
+ readonly references: {
2384
+ readonly resource: "task";
2385
+ readonly key: "id";
2386
+ };
2387
+ readonly description: "Related task.";
2388
+ };
2389
+ readonly delivery: {
2390
+ readonly type: "uri";
2391
+ readonly predicate: string;
2392
+ readonly references: {
2393
+ readonly resource: "delivery";
2394
+ readonly key: "id";
2395
+ };
2396
+ readonly description: "Related delivery.";
2397
+ };
2398
+ readonly run: {
2399
+ readonly type: "uri";
2400
+ readonly predicate: string;
2401
+ readonly references: {
2402
+ readonly resource: "run";
2403
+ readonly key: "id";
2404
+ };
2405
+ readonly description: "Related run.";
2406
+ };
2407
+ readonly thread: {
2408
+ readonly type: "uri";
2409
+ readonly predicate: string;
2410
+ readonly references: {
2411
+ readonly resource: "thread";
2412
+ readonly key: "id";
2413
+ };
2414
+ readonly description: "Related thread.";
2415
+ };
2416
+ readonly evidence: {
2417
+ readonly type: "uri";
2418
+ readonly predicate: string;
2419
+ readonly references: {
2420
+ readonly resource: "evidence";
2421
+ readonly key: "id";
2422
+ };
2423
+ readonly array: true;
2424
+ readonly description: "Evidence summarized by this report.";
2425
+ };
2426
+ readonly summary: {
2427
+ readonly type: "text";
2428
+ readonly predicate: string;
2429
+ readonly required: true;
2430
+ readonly description: "Report summary.";
2431
+ };
2432
+ readonly reviewer: {
2433
+ readonly type: "uri";
2434
+ readonly predicate: string;
2435
+ readonly description: "Reviewer.";
2436
+ };
2437
+ readonly actor: {
2438
+ readonly type: "uri";
2439
+ readonly predicate: string;
2440
+ readonly description: "Actor that produced the report.";
2441
+ };
2442
+ readonly source: {
2443
+ readonly type: "uri";
2444
+ readonly predicate: string;
2445
+ readonly description: "Source artifact or document.";
2446
+ };
2447
+ readonly metricFacts: {
2448
+ readonly type: "json";
2449
+ readonly predicate: string;
2450
+ readonly description: "Structured metric facts.";
2451
+ };
2452
+ readonly metadata: {
2453
+ readonly type: "json";
2454
+ readonly predicate: string;
2455
+ readonly description: "Opaque adapter metadata.";
2456
+ };
2457
+ readonly publishedAt: {
2458
+ readonly type: "timestamp";
2459
+ readonly predicate: string;
2460
+ readonly description: "Publication timestamp.";
2461
+ };
2462
+ }>;
2463
+ export declare const sessionDescriptor: PodModelDescriptorWithFields<{
2464
+ readonly id: {
2465
+ readonly type: "string";
2466
+ readonly predicate: string;
2467
+ readonly required: true;
2468
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
2469
+ };
2470
+ readonly owner: {
2471
+ readonly type: "uri";
2472
+ readonly predicate: string;
2473
+ readonly required: true;
2474
+ readonly description: "Session owner.";
2475
+ };
2476
+ readonly chat: {
2477
+ readonly type: "uri";
2478
+ readonly predicate: string;
2479
+ readonly references: {
2480
+ readonly resource: "chat";
2481
+ readonly key: "id";
2482
+ };
2483
+ readonly description: "Related chat.";
2484
+ };
2485
+ readonly thread: {
2486
+ readonly type: "uri";
2487
+ readonly predicate: string;
2488
+ readonly references: {
2489
+ readonly resource: "thread";
2490
+ readonly key: "id";
2491
+ };
2492
+ readonly description: "Related thread.";
2493
+ };
2494
+ readonly status: {
2495
+ readonly type: "string";
2496
+ readonly predicate: string;
2497
+ readonly description: "Session lifecycle status.";
2498
+ };
2499
+ readonly tool: {
2500
+ readonly type: "string";
2501
+ readonly predicate: string;
2502
+ readonly description: "Runtime tool or backend.";
2503
+ };
2504
+ readonly tokenUsage: {
2505
+ readonly type: "number";
2506
+ readonly predicate: string;
2507
+ readonly description: "Token usage.";
2508
+ };
2509
+ readonly messages: {
2510
+ readonly type: "uri";
2511
+ readonly predicate: string;
2512
+ readonly array: true;
2513
+ readonly description: "Messages in this session.";
2514
+ };
2515
+ readonly policy: {
2516
+ readonly type: "uri";
2517
+ readonly predicate: string;
2518
+ readonly description: "Policy resource.";
2519
+ };
2520
+ readonly policyVersion: {
2521
+ readonly type: "string";
2522
+ readonly predicate: string;
2523
+ readonly description: "Policy version.";
2524
+ };
2525
+ readonly metadata: {
2526
+ readonly type: "json";
2527
+ readonly predicate: string;
2528
+ readonly description: "Opaque adapter metadata.";
2529
+ };
2530
+ readonly archivedAt: {
2531
+ readonly type: "timestamp";
2532
+ readonly predicate: string;
2533
+ readonly description: "Archive timestamp.";
2534
+ };
2535
+ }>;
2536
+ export declare const officialPodModelDescriptors: readonly [PodModelDescriptorWithFields<{
2537
+ readonly id: {
2538
+ readonly type: "string";
2539
+ readonly predicate: string;
2540
+ readonly required: true;
2541
+ readonly description: "Base-relative credential row id. Every credential in a provider pool keeps its own id.";
2542
+ };
2543
+ readonly provider: {
2544
+ readonly type: "uri";
2545
+ readonly predicate: string;
2546
+ readonly references: {
2547
+ readonly resource: "provider";
2548
+ readonly key: "id";
2549
+ };
2550
+ readonly description: "Provider resource URI this credential connects through, as a URI relation to the provider row.";
2551
+ };
2552
+ readonly authMode: {
2553
+ readonly type: "string";
2554
+ readonly predicate: string;
2555
+ readonly description: "Authentication mode such as apiKey, oauth, deviceCode, or console.";
2556
+ };
2557
+ readonly offeringId: {
2558
+ readonly type: "string";
2559
+ readonly predicate: string;
2560
+ readonly description: "Offering id this credential connects through. Offerings are catalog content, so this stays a plain attribute, not a relation.";
2561
+ };
2562
+ readonly service: {
2563
+ readonly type: "string";
2564
+ readonly predicate: string;
2565
+ readonly required: true;
2566
+ readonly description: "Credential service grouping, for example ai or infra.";
2567
+ };
2568
+ readonly status: {
2569
+ readonly type: "string";
2570
+ readonly predicate: string;
2571
+ readonly description: "Credential health status.";
2572
+ };
2573
+ readonly apiKey: {
2574
+ readonly type: "string";
2575
+ readonly predicate: string;
2576
+ readonly secret: true;
2577
+ readonly description: "Secret token or API key material.";
2578
+ };
2579
+ readonly storageMode: {
2580
+ readonly type: "string";
2581
+ readonly predicate: string;
2582
+ readonly description: "Credential storage format, for example plaintext-v1 or secret-cell-v1.";
2583
+ };
2584
+ readonly secretPayload: {
2585
+ readonly type: "string";
2586
+ readonly predicate: string;
2587
+ readonly secret: true;
2588
+ readonly description: "Storage-mode-specific credential payload. plaintext-v1 stores a JSON payload here.";
2589
+ };
2590
+ readonly encryptedSecret: {
2591
+ readonly type: "string";
2592
+ readonly predicate: string;
2593
+ readonly secret: true;
2594
+ readonly description: "Encrypted credential payload stored in the Pod.";
2595
+ };
2596
+ readonly wrappedDataKey: {
2597
+ readonly type: "string";
2598
+ readonly predicate: string;
2599
+ readonly secret: true;
2600
+ readonly description: "Wrapped data-encryption key for encrypted credential payloads.";
2601
+ };
2602
+ readonly encryptionAlgorithm: {
2603
+ readonly type: "string";
2604
+ readonly predicate: string;
2605
+ readonly description: "Credential encryption algorithm identifier.";
2606
+ };
2607
+ readonly keyVersion: {
2608
+ readonly type: "string";
2609
+ readonly predicate: string;
2610
+ readonly description: "Key-management version used to encrypt the credential.";
2611
+ };
2612
+ readonly scopes: {
2613
+ readonly type: "text";
2614
+ readonly predicate: string;
2615
+ readonly array: true;
2616
+ readonly description: "Credential scopes granted by the provider.";
2617
+ };
2618
+ readonly expiresAt: {
2619
+ readonly type: "timestamp";
2620
+ readonly predicate: string;
2621
+ readonly description: "Credential expiry timestamp.";
2622
+ };
2623
+ readonly accountLabel: {
2624
+ readonly type: "string";
2625
+ readonly predicate: string;
2626
+ readonly description: "Provider account label associated with the credential.";
2627
+ };
2628
+ readonly lastRefreshAt: {
2629
+ readonly type: "timestamp";
2630
+ readonly predicate: string;
2631
+ readonly description: "Last successful credential refresh timestamp.";
2632
+ };
2633
+ readonly reauthRequired: {
2634
+ readonly type: "boolean";
2635
+ readonly predicate: string;
2636
+ readonly description: "Whether this credential requires user reauthentication.";
2637
+ };
2638
+ readonly baseUrl: {
2639
+ readonly type: "string";
2640
+ readonly predicate: string;
2641
+ readonly description: "Provider API base URL recorded on the credential.";
2642
+ };
2643
+ readonly proxyUrl: {
2644
+ readonly type: "string";
2645
+ readonly predicate: string;
2646
+ readonly description: "Proxy URL used for requests made with this credential.";
2647
+ };
2648
+ readonly label: {
2649
+ readonly type: "string";
2650
+ readonly predicate: string;
2651
+ readonly description: "User-facing credential label.";
2652
+ };
2653
+ readonly isDefault: {
2654
+ readonly type: "boolean";
2655
+ readonly predicate: string;
2656
+ readonly description: "Whether this credential is the default credential for its provider.";
2657
+ };
2658
+ readonly createdAt: {
2659
+ readonly type: "timestamp";
2660
+ readonly predicate: string;
2661
+ readonly description: "Creation timestamp, set by the store.";
2662
+ };
2663
+ readonly lastUsedAt: {
2664
+ readonly type: "timestamp";
2665
+ readonly predicate: string;
2666
+ readonly description: "Last successful use timestamp.";
2667
+ };
2668
+ readonly clientCredentialId: {
2669
+ readonly type: "string";
2670
+ readonly predicate: string;
2671
+ readonly description: "Client the issued credential belongs to. An external runtime identifier, not an RDF link.";
2672
+ };
2673
+ readonly appliedTo: {
2674
+ readonly type: "string";
2675
+ readonly predicate: string;
2676
+ readonly description: "Client application id the credential is in effect for. A runtime identifier, not an RDF link.";
2677
+ };
2678
+ readonly appliedOn: {
2679
+ readonly type: "string";
2680
+ readonly predicate: string;
2681
+ readonly description: "Device id that wrote the applied configuration. A runtime identifier, not an RDF link.";
2682
+ };
2683
+ readonly appliedAt: {
2684
+ readonly type: "timestamp";
2685
+ readonly predicate: string;
2686
+ readonly description: "Timestamp when the credential was applied.";
2687
+ };
2688
+ readonly failCount: {
2689
+ readonly type: "number";
2690
+ readonly predicate: string;
2691
+ readonly description: "Failed use count recorded for the credential.";
2692
+ };
2693
+ readonly rateLimitResetAt: {
2694
+ readonly type: "timestamp";
2695
+ readonly predicate: string;
2696
+ readonly description: "Timestamp when the provider rate limit is expected to reset.";
2697
+ };
2698
+ readonly oauthRefreshToken: {
2699
+ readonly type: "string";
2700
+ readonly predicate: string;
2701
+ readonly secret: true;
2702
+ readonly description: "OAuth refresh token.";
2703
+ };
2704
+ readonly oauthAccessToken: {
2705
+ readonly type: "string";
2706
+ readonly predicate: string;
2707
+ readonly secret: true;
2708
+ readonly description: "OAuth access token.";
2709
+ };
2710
+ readonly oauthExpiresAt: {
2711
+ readonly type: "timestamp";
2712
+ readonly predicate: string;
2713
+ readonly description: "OAuth access token expiry timestamp.";
2714
+ };
2715
+ readonly projectId: {
2716
+ readonly type: "string";
2717
+ readonly predicate: string;
2718
+ readonly description: "Provider project identifier recorded for the credential.";
2719
+ };
2720
+ readonly organizationId: {
2721
+ readonly type: "string";
2722
+ readonly predicate: string;
2723
+ readonly description: "Provider organization identifier recorded for the credential.";
2724
+ };
2725
+ readonly metadata: {
2726
+ readonly type: "json";
2727
+ readonly predicate: string;
2728
+ readonly description: "Opaque adapter-local metadata bag; shared relations must be explicit fields.";
2729
+ };
2730
+ }>, PodModelDescriptorWithFields<{
2731
+ readonly id: {
2732
+ readonly type: "string";
2733
+ readonly predicate: string;
2734
+ readonly required: true;
2735
+ readonly description: "Base-relative resource id, for example ai/gateway/access-keys.ttl#key_1.";
2736
+ };
2737
+ readonly owner: {
2738
+ readonly type: "uri";
2739
+ readonly predicate: string;
2740
+ readonly required: true;
2741
+ readonly description: "WebID or principal URI that owns this Gateway access key.";
2742
+ };
2743
+ readonly secretHash: {
2744
+ readonly type: "string";
2745
+ readonly predicate: string;
2746
+ readonly required: true;
2747
+ readonly secret: true;
2748
+ readonly description: "Hash of the Gateway secret. Raw access key material must not be stored here.";
2749
+ };
2750
+ readonly name: {
2751
+ readonly type: "string";
2752
+ readonly predicate: string;
2753
+ readonly description: "User-visible label for distinguishing this Gateway access key.";
2754
+ };
2755
+ readonly deployment: {
2756
+ readonly type: "string";
2757
+ readonly predicate: string;
2758
+ readonly required: true;
2759
+ readonly description: "Gateway deployment target: local or cloud.";
2760
+ };
2761
+ readonly scopes: {
2762
+ readonly type: "text";
2763
+ readonly predicate: string;
2764
+ readonly array: true;
2765
+ readonly description: "Gateway scopes granted to this key.";
2766
+ };
2767
+ readonly createdAt: {
2768
+ readonly type: "timestamp";
2769
+ readonly predicate: string;
2770
+ readonly description: "Creation timestamp.";
2771
+ };
2772
+ readonly expiresAt: {
2773
+ readonly type: "timestamp";
2774
+ readonly predicate: string;
2775
+ readonly description: "Key expiry timestamp.";
2776
+ };
2777
+ readonly lastUsedAt: {
2778
+ readonly type: "timestamp";
2779
+ readonly predicate: string;
2780
+ readonly description: "Last successful Gateway use timestamp.";
2781
+ };
2782
+ readonly revokedAt: {
2783
+ readonly type: "timestamp";
2784
+ readonly predicate: string;
2785
+ readonly description: "Revocation timestamp. Presence means the key is no longer valid.";
2786
+ };
2787
+ readonly disabledAt: {
2788
+ readonly type: "timestamp";
2789
+ readonly predicate: string;
2790
+ readonly description: "Temporary disable timestamp. Clear it to enable the key again.";
2791
+ };
2792
+ }>, PodModelDescriptorWithFields<{
2793
+ readonly id: {
2794
+ readonly type: "string";
2795
+ readonly predicate: string;
2796
+ readonly required: true;
2797
+ readonly description: "Base-relative resource id, for example ai/gateway/quota.ttl#quota_1.";
2798
+ };
2799
+ readonly credential: {
2800
+ readonly type: "uri";
2801
+ readonly predicate: string;
2802
+ readonly references: {
2803
+ readonly resource: "credential";
2804
+ readonly key: "id";
2805
+ };
2806
+ readonly required: true;
2807
+ readonly description: "Credential resource URI this quota snapshot describes.";
2808
+ };
2809
+ readonly owner: {
2810
+ readonly type: "uri";
2811
+ readonly predicate: string;
2812
+ readonly required: true;
2813
+ readonly description: "WebID that owns the credential and quota snapshot.";
2814
+ };
2815
+ readonly deployment: {
2816
+ readonly type: "string";
2817
+ readonly predicate: string;
2818
+ readonly required: true;
2819
+ readonly description: "Gateway deployment scope: local or cloud.";
2820
+ };
2821
+ readonly provider: {
2822
+ readonly type: "string";
2823
+ readonly predicate: string;
2824
+ readonly required: true;
2825
+ readonly description: "Normalized provider id for the quota snapshot.";
2826
+ };
2827
+ readonly status: {
2828
+ readonly type: "string";
2829
+ readonly predicate: string;
2830
+ readonly required: true;
2831
+ readonly description: "Quota availability status: available, unsupported, or error.";
2832
+ };
2833
+ readonly balance: {
2834
+ readonly type: "number";
2835
+ readonly predicate: string;
2836
+ readonly description: "Normalized remaining quota balance when the provider exposes one.";
2837
+ };
2838
+ readonly windows: {
2839
+ readonly type: "text";
2840
+ readonly predicate: string;
2841
+ readonly description: "Serialized normalized quota windows literal, for example JSON produced by Gateway normalization.";
2842
+ };
2843
+ readonly observedAt: {
2844
+ readonly type: "timestamp";
2845
+ readonly predicate: string;
2846
+ readonly description: "Observation timestamp.";
2847
+ };
2848
+ readonly expiresAt: {
2849
+ readonly type: "timestamp";
2850
+ readonly predicate: string;
2851
+ readonly description: "Snapshot freshness expiry timestamp.";
2852
+ };
2853
+ readonly source: {
2854
+ readonly type: "string";
2855
+ readonly predicate: string;
2856
+ readonly description: "Observation source such as provider, gateway-cache, or manual.";
2857
+ };
2858
+ }>, PodModelDescriptorWithFields<{
2859
+ readonly id: {
2860
+ readonly type: "string";
2861
+ readonly predicate: string;
2862
+ readonly required: true;
2863
+ readonly description: "Base-relative provider row id, for example openai.ttl.";
2864
+ };
2865
+ readonly displayName: {
2866
+ readonly type: "string";
2867
+ readonly predicate: string;
2868
+ readonly description: "Provider display name stored on the provider row.";
2869
+ };
2870
+ readonly baseUrl: {
2871
+ readonly type: "string";
2872
+ readonly predicate: string;
2873
+ readonly description: "Provider API base URL.";
2874
+ };
2875
+ readonly proxyUrl: {
2876
+ readonly type: "string";
2877
+ readonly predicate: string;
2878
+ readonly description: "Proxy URL used for provider requests.";
2879
+ };
2880
+ readonly homepage: {
2881
+ readonly type: "string";
2882
+ readonly predicate: string;
2883
+ readonly description: "Provider homepage URL.";
2884
+ };
2885
+ readonly apiKeyUrl: {
2886
+ readonly type: "string";
2887
+ readonly predicate: string;
2888
+ readonly description: "URL where a user creates an API key for this provider.";
2889
+ };
2890
+ readonly connectMode: {
2891
+ readonly type: "string";
2892
+ readonly predicate: string;
2893
+ readonly description: "Connection mode recorded for the provider authorization method.";
2894
+ };
2895
+ readonly hasModel: {
2896
+ readonly type: "uri";
2897
+ readonly predicate: string;
2898
+ readonly references: {
2899
+ readonly resource: "ai-model";
2900
+ readonly key: "id";
2901
+ };
2902
+ readonly array: true;
2903
+ readonly description: "Model rows this provider exposes, as subjects inside the provider document.";
2904
+ };
2905
+ readonly defaultModel: {
2906
+ readonly type: "uri";
2907
+ readonly predicate: string;
2908
+ readonly references: {
2909
+ readonly resource: "ai-model";
2910
+ readonly key: "id";
2911
+ };
2912
+ readonly description: "Default model for this provider when a request does not select one.";
2913
+ };
2914
+ readonly supportsBackend: {
2915
+ readonly type: "string";
2916
+ readonly predicate: string;
2917
+ readonly description: "Backends this provider can serve, read as a backend list by the AI config selector.";
2918
+ };
2919
+ readonly capabilities: {
2920
+ readonly type: "string";
2921
+ readonly predicate: string;
2922
+ readonly array: true;
2923
+ readonly description: "Provider capability tags.";
2924
+ };
2925
+ readonly rotationPolicy: {
2926
+ readonly type: "string";
2927
+ readonly predicate: string;
2928
+ readonly description: "Credential rotation policy recorded for the provider.";
2929
+ };
2930
+ }>, PodModelDescriptorWithFields<{
2931
+ readonly id: {
2932
+ readonly type: "string";
2933
+ readonly predicate: string;
2934
+ readonly required: true;
2935
+ readonly description: "Base-relative model row id: provider document plus model key, for example openai.ttl#gpt-4o.";
2936
+ };
2937
+ readonly rdfType: {
2938
+ readonly type: "uri";
2939
+ readonly predicate: string;
2940
+ readonly array: true;
2941
+ readonly description: "RDF class of the model row. The base table defaults to AIModel, and subclass tables narrow it.";
2942
+ };
2943
+ readonly displayName: {
2944
+ readonly type: "string";
2945
+ readonly predicate: string;
2946
+ readonly description: "Model display name stored on the model row.";
2947
+ };
2948
+ readonly isProvidedBy: {
2949
+ readonly type: "uri";
2950
+ readonly predicate: string;
2951
+ readonly references: {
2952
+ readonly resource: "provider";
2953
+ readonly key: "id";
2954
+ };
2955
+ readonly description: "Provider document this model row belongs to, as a URI relation to the provider row.";
2956
+ };
2957
+ readonly inputModalities: {
2958
+ readonly type: "text";
2959
+ readonly predicate: string;
2960
+ readonly array: true;
2961
+ readonly description: "Input modalities the model accepts.";
2962
+ };
2963
+ readonly outputModalities: {
2964
+ readonly type: "text";
2965
+ readonly predicate: string;
2966
+ readonly array: true;
2967
+ readonly description: "Output modalities the model produces.";
2968
+ };
2969
+ readonly runtimeCapabilities: {
2970
+ readonly type: "string";
2971
+ readonly predicate: string;
2972
+ readonly array: true;
2973
+ readonly description: "Adapter/runtime endpoint capabilities, kept separate from semantic model capabilities.";
2974
+ };
2975
+ readonly capabilities: {
2976
+ readonly type: "uri";
2977
+ readonly predicate: string;
2978
+ readonly array: true;
2979
+ readonly description: "Semantic capabilities of the model, as URIs.";
2980
+ };
2981
+ readonly pricingInput: {
2982
+ readonly type: "number";
2983
+ readonly predicate: string;
2984
+ readonly description: "Input token price recorded for the model.";
2985
+ };
2986
+ readonly pricingOutput: {
2987
+ readonly type: "number";
2988
+ readonly predicate: string;
2989
+ readonly description: "Output token price recorded for the model.";
2990
+ };
2991
+ readonly status: {
2992
+ readonly type: "string";
2993
+ readonly predicate: string;
2994
+ readonly description: "Model availability status.";
2995
+ };
2996
+ readonly createdAt: {
2997
+ readonly type: "timestamp";
2998
+ readonly predicate: string;
2999
+ readonly description: "Creation timestamp, set by the store.";
3000
+ };
3001
+ readonly updatedAt: {
3002
+ readonly type: "timestamp";
3003
+ readonly predicate: string;
3004
+ readonly description: "Last update timestamp.";
3005
+ };
3006
+ }>, PodModelDescriptorWithFields<{
3007
+ readonly id: {
3008
+ readonly type: "string";
3009
+ readonly predicate: string;
3010
+ readonly required: true;
3011
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3012
+ };
3013
+ readonly name: {
3014
+ readonly type: "string";
3015
+ readonly predicate: string;
3016
+ readonly required: true;
3017
+ readonly description: "Display name.";
3018
+ };
3019
+ readonly avatarUrl: {
3020
+ readonly type: "uri";
3021
+ readonly predicate: string;
3022
+ readonly description: "Avatar image URI.";
3023
+ };
3024
+ readonly about: {
3025
+ readonly type: "uri";
3026
+ readonly predicate: string;
3027
+ readonly required: true;
3028
+ readonly description: "Person, Agent, Chat, or external resource this contact card is about.";
3029
+ };
3030
+ readonly rdfType: {
3031
+ readonly type: "uri";
3032
+ readonly predicate: string;
3033
+ readonly required: true;
3034
+ readonly description: "Semantic classifier for the represented resource.";
3035
+ };
3036
+ readonly contactType: {
3037
+ readonly type: "string";
3038
+ readonly predicate: string;
3039
+ readonly required: true;
3040
+ readonly description: "Runtime/source hint for handler selection.";
3041
+ };
3042
+ readonly isPublic: {
3043
+ readonly type: "boolean";
3044
+ readonly predicate: string;
3045
+ readonly description: "Whether the contact is public.";
3046
+ };
3047
+ readonly externalPlatform: {
3048
+ readonly type: "string";
3049
+ readonly predicate: string;
3050
+ readonly description: "External platform namespace.";
3051
+ };
3052
+ readonly externalId: {
3053
+ readonly type: "string";
3054
+ readonly predicate: string;
3055
+ readonly description: "Opaque external platform id; not a resource relation.";
3056
+ };
3057
+ readonly alias: {
3058
+ readonly type: "string";
3059
+ readonly predicate: string;
3060
+ readonly description: "Private display alias.";
3061
+ };
3062
+ readonly starred: {
3063
+ readonly type: "boolean";
3064
+ readonly predicate: string;
3065
+ readonly description: "Favorite flag.";
3066
+ };
3067
+ readonly note: {
3068
+ readonly type: "text";
3069
+ readonly predicate: string;
3070
+ readonly description: "Private note.";
3071
+ };
3072
+ readonly sortKey: {
3073
+ readonly type: "string";
3074
+ readonly predicate: string;
3075
+ readonly description: "Stable sort key.";
3076
+ };
3077
+ readonly gender: {
3078
+ readonly type: "string";
3079
+ readonly predicate: string;
3080
+ readonly description: "Demographic hint.";
3081
+ };
3082
+ readonly province: {
3083
+ readonly type: "string";
3084
+ readonly predicate: string;
3085
+ readonly description: "Region.";
3086
+ };
3087
+ readonly city: {
3088
+ readonly type: "string";
3089
+ readonly predicate: string;
3090
+ readonly description: "Locality.";
3091
+ };
3092
+ readonly deletedAt: {
3093
+ readonly type: "timestamp";
3094
+ readonly predicate: string;
3095
+ readonly description: "Deletion timestamp.";
3096
+ };
3097
+ readonly lastSyncedAt: {
3098
+ readonly type: "timestamp";
3099
+ readonly predicate: string;
3100
+ readonly description: "Last sync timestamp.";
3101
+ };
3102
+ }>, PodModelDescriptorWithFields<{
3103
+ readonly id: {
3104
+ readonly type: "string";
3105
+ readonly predicate: string;
3106
+ readonly required: true;
3107
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3108
+ };
3109
+ readonly title: {
3110
+ readonly type: "string";
3111
+ readonly predicate: string;
3112
+ readonly required: true;
3113
+ readonly description: "Chat title.";
3114
+ };
3115
+ readonly description: {
3116
+ readonly type: "string";
3117
+ readonly predicate: string;
3118
+ readonly description: "Chat description.";
3119
+ };
3120
+ readonly avatarUrl: {
3121
+ readonly type: "uri";
3122
+ readonly predicate: string;
3123
+ readonly description: "Avatar image URI.";
3124
+ };
3125
+ readonly author: {
3126
+ readonly type: "uri";
3127
+ readonly predicate: string;
3128
+ readonly description: "Creator WebID or agent URI.";
3129
+ };
3130
+ readonly status: {
3131
+ readonly type: "string";
3132
+ readonly predicate: string;
3133
+ readonly description: "Chat lifecycle status.";
3134
+ };
3135
+ readonly starred: {
3136
+ readonly type: "boolean";
3137
+ readonly predicate: string;
3138
+ readonly description: "Favorite flag.";
3139
+ };
3140
+ readonly muted: {
3141
+ readonly type: "boolean";
3142
+ readonly predicate: string;
3143
+ readonly description: "Muted flag.";
3144
+ };
3145
+ readonly unreadCount: {
3146
+ readonly type: "number";
3147
+ readonly predicate: string;
3148
+ readonly description: "Unread message count.";
3149
+ };
3150
+ readonly contact: {
3151
+ readonly type: "uri";
3152
+ readonly predicate: string;
3153
+ readonly references: {
3154
+ readonly resource: "contact";
3155
+ readonly key: "id";
3156
+ };
3157
+ readonly description: "Optional counterpart/contact represented by this channel.";
3158
+ };
3159
+ readonly participants: {
3160
+ readonly type: "uri";
3161
+ readonly predicate: string;
3162
+ readonly array: true;
3163
+ readonly description: "Participant resource URIs.";
3164
+ };
3165
+ readonly metadata: {
3166
+ readonly type: "json";
3167
+ readonly predicate: string;
3168
+ readonly description: "Opaque adapter/UI metadata.";
3169
+ };
3170
+ readonly lastActiveAt: {
3171
+ readonly type: "timestamp";
3172
+ readonly predicate: string;
3173
+ readonly description: "Last activity timestamp.";
3174
+ };
3175
+ readonly lastMessage: {
3176
+ readonly type: "uri";
3177
+ readonly predicate: string;
3178
+ readonly description: "Latest message pointer.";
3179
+ };
3180
+ readonly lastMessagePreview: {
3181
+ readonly type: "text";
3182
+ readonly predicate: string;
3183
+ readonly description: "Latest message preview.";
3184
+ };
3185
+ }>, PodModelDescriptorWithFields<{
3186
+ readonly id: {
3187
+ readonly type: "string";
3188
+ readonly predicate: string;
3189
+ readonly required: true;
3190
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3191
+ };
3192
+ readonly parent: {
3193
+ readonly type: "uri";
3194
+ readonly predicate: string;
3195
+ readonly required: true;
3196
+ readonly description: "Parent command surface/container.";
3197
+ };
3198
+ readonly title: {
3199
+ readonly type: "string";
3200
+ readonly predicate: string;
3201
+ readonly description: "Thread title.";
3202
+ };
3203
+ readonly status: {
3204
+ readonly type: "string";
3205
+ readonly predicate: string;
3206
+ readonly description: "Thread lifecycle status.";
3207
+ };
3208
+ readonly starred: {
3209
+ readonly type: "boolean";
3210
+ readonly predicate: string;
3211
+ readonly description: "Favorite flag.";
3212
+ };
3213
+ readonly workspace: {
3214
+ readonly type: "uri";
3215
+ readonly predicate: string;
3216
+ readonly description: "Storage-layer workspace/container URI.";
3217
+ };
3218
+ readonly metadata: {
3219
+ readonly type: "json";
3220
+ readonly predicate: string;
3221
+ readonly description: "Opaque adapter/UI metadata.";
3222
+ };
3223
+ }>, PodModelDescriptorWithFields<{
3224
+ readonly id: {
3225
+ readonly type: "string";
3226
+ readonly predicate: string;
3227
+ readonly required: true;
3228
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3229
+ };
3230
+ readonly parent: {
3231
+ readonly type: "uri";
3232
+ readonly predicate: string;
3233
+ readonly required: true;
3234
+ readonly description: "Parent command surface/container URI.";
3235
+ };
3236
+ readonly chat: {
3237
+ readonly type: "uri";
3238
+ readonly predicate: string;
3239
+ readonly references: {
3240
+ readonly resource: "chat";
3241
+ readonly key: "id";
3242
+ };
3243
+ readonly description: "Solid Chat compatibility containment relation.";
3244
+ };
3245
+ readonly thread: {
3246
+ readonly type: "uri";
3247
+ readonly predicate: string;
3248
+ readonly references: {
3249
+ readonly resource: "thread";
3250
+ readonly key: "id";
3251
+ };
3252
+ readonly description: "Thread containment relation.";
3253
+ };
3254
+ readonly maker: {
3255
+ readonly type: "uri";
3256
+ readonly predicate: string;
3257
+ readonly description: "Author resource IRI.";
3258
+ };
3259
+ readonly role: {
3260
+ readonly type: "string";
3261
+ readonly predicate: string;
3262
+ readonly description: "Message role.";
3263
+ };
3264
+ readonly content: {
3265
+ readonly type: "text";
3266
+ readonly predicate: string;
3267
+ readonly required: true;
3268
+ readonly description: "Plain text content.";
3269
+ };
3270
+ readonly richContent: {
3271
+ readonly type: "text";
3272
+ readonly predicate: string;
3273
+ readonly description: "Structured/rich content payload.";
3274
+ };
3275
+ readonly status: {
3276
+ readonly type: "string";
3277
+ readonly predicate: string;
3278
+ readonly description: "Message lifecycle status.";
3279
+ };
3280
+ readonly toolName: {
3281
+ readonly type: "string";
3282
+ readonly predicate: string;
3283
+ readonly description: "Tool name for tool messages.";
3284
+ };
3285
+ readonly toolCallId: {
3286
+ readonly type: "string";
3287
+ readonly predicate: string;
3288
+ readonly description: "Opaque tool call id; not a resource relation.";
3289
+ };
3290
+ readonly metadata: {
3291
+ readonly type: "json";
3292
+ readonly predicate: string;
3293
+ readonly description: "Opaque adapter/UI metadata.";
3294
+ };
3295
+ readonly replacedBy: {
3296
+ readonly type: "string";
3297
+ readonly predicate: string;
3298
+ readonly description: "Replacement message reference.";
3299
+ };
3300
+ readonly deletedAt: {
3301
+ readonly type: "timestamp";
3302
+ readonly predicate: string;
3303
+ readonly description: "Deletion timestamp.";
3304
+ };
3305
+ readonly senderName: {
3306
+ readonly type: "string";
3307
+ readonly predicate: string;
3308
+ readonly description: "Display sender name.";
3309
+ };
3310
+ readonly senderAvatarUrl: {
3311
+ readonly type: "uri";
3312
+ readonly predicate: string;
3313
+ readonly description: "Display sender avatar.";
3314
+ };
3315
+ readonly mentions: {
3316
+ readonly type: "uri";
3317
+ readonly predicate: string;
3318
+ readonly array: true;
3319
+ readonly description: "Mentioned resource URIs.";
3320
+ };
3321
+ readonly replyTo: {
3322
+ readonly type: "uri";
3323
+ readonly predicate: string;
3324
+ readonly description: "Original message URI.";
3325
+ };
3326
+ readonly routedBy: {
3327
+ readonly type: "uri";
3328
+ readonly predicate: string;
3329
+ readonly description: "Routing agent URI.";
3330
+ };
3331
+ readonly routeTargetAgent: {
3332
+ readonly type: "uri";
3333
+ readonly predicate: string;
3334
+ readonly description: "Target agent URI.";
3335
+ };
3336
+ readonly coordinationId: {
3337
+ readonly type: "string";
3338
+ readonly predicate: string;
3339
+ readonly description: "Opaque multi-agent coordination id.";
3340
+ };
3341
+ }>, PodModelDescriptorWithFields<{
3342
+ readonly id: {
3343
+ readonly type: "string";
3344
+ readonly predicate: string;
3345
+ readonly required: true;
3346
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3347
+ };
3348
+ readonly workspace: {
3349
+ readonly type: "uri";
3350
+ readonly predicate: string;
3351
+ readonly required: true;
3352
+ readonly description: "Workspace URI that owns this context.";
3353
+ };
3354
+ readonly instructions: {
3355
+ readonly type: "text";
3356
+ readonly predicate: string;
3357
+ readonly description: "User-maintained project instructions.";
3358
+ };
3359
+ readonly memoryEnabled: {
3360
+ readonly type: "boolean";
3361
+ readonly predicate: string;
3362
+ readonly description: "Whether explicit project memories may be injected into model context.";
3363
+ };
3364
+ readonly createdAt: {
3365
+ readonly type: "timestamp";
3366
+ readonly predicate: string;
3367
+ readonly description: "Creation timestamp.";
3368
+ };
3369
+ readonly updatedAt: {
3370
+ readonly type: "timestamp";
3371
+ readonly predicate: string;
3372
+ readonly description: "Last modification timestamp.";
3373
+ };
3374
+ }>, PodModelDescriptorWithFields<{
3375
+ readonly id: {
3376
+ readonly type: "string";
3377
+ readonly predicate: string;
3378
+ readonly required: true;
3379
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3380
+ };
3381
+ readonly workspace: {
3382
+ readonly type: "uri";
3383
+ readonly predicate: string;
3384
+ readonly required: true;
3385
+ readonly description: "Workspace URI that owns this memory.";
3386
+ };
3387
+ readonly text: {
3388
+ readonly type: "text";
3389
+ readonly predicate: string;
3390
+ readonly required: true;
3391
+ readonly description: "Explicit memory text.";
3392
+ };
3393
+ readonly sourceMessage: {
3394
+ readonly type: "uri";
3395
+ readonly predicate: string;
3396
+ readonly description: "Optional source message URI.";
3397
+ };
3398
+ readonly createdAt: {
3399
+ readonly type: "timestamp";
3400
+ readonly predicate: string;
3401
+ readonly description: "Creation timestamp.";
3402
+ };
3403
+ readonly updatedAt: {
3404
+ readonly type: "timestamp";
3405
+ readonly predicate: string;
3406
+ readonly description: "Last modification timestamp.";
3407
+ };
3408
+ }>, PodModelDescriptorWithFields<{
3409
+ readonly id: {
3410
+ readonly type: "string";
3411
+ readonly predicate: string;
3412
+ readonly required: true;
3413
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3414
+ };
3415
+ readonly thread: {
3416
+ readonly type: "uri";
3417
+ readonly predicate: string;
3418
+ readonly required: true;
3419
+ readonly description: "Shared thread URI.";
3420
+ };
3421
+ readonly resourceUrl: {
3422
+ readonly type: "uri";
3423
+ readonly predicate: string;
3424
+ readonly required: true;
3425
+ readonly description: "Public read-only HTML resource URL.";
3426
+ };
3427
+ readonly includeToolDetails: {
3428
+ readonly type: "boolean";
3429
+ readonly predicate: string;
3430
+ readonly description: "Whether sanitized tool details were included.";
3431
+ };
3432
+ readonly excludedMessageIds: {
3433
+ readonly type: "string";
3434
+ readonly predicate: string;
3435
+ readonly array: true;
3436
+ readonly description: "Messages excluded by the user before sharing.";
3437
+ };
3438
+ readonly createdAt: {
3439
+ readonly type: "timestamp";
3440
+ readonly predicate: string;
3441
+ readonly description: "Creation timestamp.";
3442
+ };
3443
+ readonly revokedAt: {
3444
+ readonly type: "timestamp";
3445
+ readonly predicate: string;
3446
+ readonly description: "Revocation timestamp.";
3447
+ };
3448
+ }>, PodModelDescriptorWithFields<{
3449
+ readonly id: {
3450
+ readonly type: "string";
3451
+ readonly predicate: string;
3452
+ readonly required: true;
3453
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3454
+ };
3455
+ readonly summary: {
3456
+ readonly type: "string";
3457
+ readonly predicate: string;
3458
+ readonly required: true;
3459
+ readonly description: "Short summary of the idea.";
3460
+ };
3461
+ readonly document: {
3462
+ readonly type: "uri";
3463
+ readonly predicate: string;
3464
+ readonly description: "Pod file that owns the idea body.";
3465
+ };
3466
+ readonly input: {
3467
+ readonly type: "text";
3468
+ readonly predicate: string;
3469
+ readonly description: "Original or synthesized input text.";
3470
+ };
3471
+ readonly status: {
3472
+ readonly type: "string";
3473
+ readonly predicate: string;
3474
+ readonly description: "Idea lifecycle status.";
3475
+ };
3476
+ readonly commitment: {
3477
+ readonly type: "string";
3478
+ readonly predicate: string;
3479
+ readonly description: "Commitment level such as thought, direction, tentative_decision, or committed.";
3480
+ };
3481
+ readonly affectedArea: {
3482
+ readonly type: "string";
3483
+ readonly predicate: string;
3484
+ readonly description: "System or product area the idea may affect.";
3485
+ };
3486
+ readonly currentUnderstanding: {
3487
+ readonly type: "text";
3488
+ readonly predicate: string;
3489
+ readonly description: "Current synthesized understanding.";
3490
+ };
3491
+ readonly openQuestions: {
3492
+ readonly type: "text";
3493
+ readonly predicate: string;
3494
+ readonly array: true;
3495
+ readonly description: "Open questions before promotion.";
3496
+ };
3497
+ readonly related: {
3498
+ readonly type: "uri";
3499
+ readonly predicate: string;
3500
+ readonly array: true;
3501
+ readonly description: "Related control records or resources.";
3502
+ };
3503
+ readonly conflicts: {
3504
+ readonly type: "text";
3505
+ readonly predicate: string;
3506
+ readonly array: true;
3507
+ readonly description: "Potential semantic conflicts.";
3508
+ };
3509
+ readonly nextStep: {
3510
+ readonly type: "text";
3511
+ readonly predicate: string;
3512
+ readonly description: "Suggested next action.";
3513
+ };
3514
+ readonly promotedTo: {
3515
+ readonly type: "uri";
3516
+ readonly predicate: string;
3517
+ readonly description: "Committed resource created from the idea.";
3518
+ };
3519
+ readonly chat: {
3520
+ readonly type: "uri";
3521
+ readonly predicate: string;
3522
+ readonly references: {
3523
+ readonly resource: "chat";
3524
+ readonly key: "id";
3525
+ };
3526
+ readonly description: "Source chat.";
3527
+ };
3528
+ readonly thread: {
3529
+ readonly type: "uri";
3530
+ readonly predicate: string;
3531
+ readonly references: {
3532
+ readonly resource: "thread";
3533
+ readonly key: "id";
3534
+ };
3535
+ readonly description: "Source thread.";
3536
+ };
3537
+ readonly sourceMessages: {
3538
+ readonly type: "uri";
3539
+ readonly predicate: string;
3540
+ readonly array: true;
3541
+ readonly description: "Source messages.";
3542
+ };
3543
+ readonly createdBy: {
3544
+ readonly type: "uri";
3545
+ readonly predicate: string;
3546
+ readonly description: "Creator WebID or agent URI.";
3547
+ };
3548
+ readonly metadata: {
3549
+ readonly type: "json";
3550
+ readonly predicate: string;
3551
+ readonly description: "Opaque adapter metadata.";
3552
+ };
3553
+ }>, PodModelDescriptorWithFields<{
3554
+ readonly id: {
3555
+ readonly type: "string";
3556
+ readonly predicate: string;
3557
+ readonly required: true;
3558
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3559
+ };
3560
+ readonly title: {
3561
+ readonly type: "string";
3562
+ readonly predicate: string;
3563
+ readonly required: true;
3564
+ readonly description: "Compact issue label for list/search surfaces; the file owns the full title/body.";
3565
+ };
3566
+ readonly document: {
3567
+ readonly type: "uri";
3568
+ readonly predicate: string;
3569
+ readonly description: "Pod file that owns the issue body.";
3570
+ };
3571
+ readonly description: {
3572
+ readonly type: "text";
3573
+ readonly predicate: string;
3574
+ readonly description: "Issue description.";
3575
+ };
3576
+ readonly status: {
3577
+ readonly type: "string";
3578
+ readonly predicate: string;
3579
+ readonly description: "Issue lifecycle status.";
3580
+ };
3581
+ readonly priority: {
3582
+ readonly type: "string";
3583
+ readonly predicate: string;
3584
+ readonly description: "Issue priority.";
3585
+ };
3586
+ readonly labels: {
3587
+ readonly type: "text";
3588
+ readonly predicate: string;
3589
+ readonly array: true;
3590
+ readonly description: "Tags or labels.";
3591
+ };
3592
+ readonly chat: {
3593
+ readonly type: "uri";
3594
+ readonly predicate: string;
3595
+ readonly references: {
3596
+ readonly resource: "chat";
3597
+ readonly key: "id";
3598
+ };
3599
+ readonly description: "Owning or source chat.";
3600
+ };
3601
+ readonly thread: {
3602
+ readonly type: "uri";
3603
+ readonly predicate: string;
3604
+ readonly references: {
3605
+ readonly resource: "thread";
3606
+ readonly key: "id";
3607
+ };
3608
+ readonly description: "Owning or source thread.";
3609
+ };
3610
+ readonly parentIssue: {
3611
+ readonly type: "uri";
3612
+ readonly predicate: string;
3613
+ readonly references: {
3614
+ readonly resource: "issue";
3615
+ readonly key: "id";
3616
+ };
3617
+ readonly description: "Parent issue.";
3618
+ };
3619
+ readonly tasks: {
3620
+ readonly type: "uri";
3621
+ readonly predicate: string;
3622
+ readonly array: true;
3623
+ readonly description: "Executable task slices.";
3624
+ };
3625
+ readonly createdBy: {
3626
+ readonly type: "uri";
3627
+ readonly predicate: string;
3628
+ readonly description: "Creator WebID or agent URI.";
3629
+ };
3630
+ readonly assignedTo: {
3631
+ readonly type: "uri";
3632
+ readonly predicate: string;
3633
+ readonly description: "Assignee WebID or agent URI.";
3634
+ };
3635
+ readonly closedAt: {
3636
+ readonly type: "timestamp";
3637
+ readonly predicate: string;
3638
+ readonly description: "Closure timestamp.";
3639
+ };
3640
+ readonly deletedAt: {
3641
+ readonly type: "timestamp";
3642
+ readonly predicate: string;
3643
+ readonly description: "Deletion timestamp.";
3644
+ };
3645
+ }>, PodModelDescriptorWithFields<{
3646
+ readonly id: {
3647
+ readonly type: "string";
3648
+ readonly predicate: string;
3649
+ readonly required: true;
3650
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3651
+ };
3652
+ readonly title: {
3653
+ readonly type: "string";
3654
+ readonly predicate: string;
3655
+ readonly description: "Task title.";
3656
+ };
3657
+ readonly instruction: {
3658
+ readonly type: "text";
3659
+ readonly predicate: string;
3660
+ readonly required: true;
3661
+ readonly description: "Executable instruction.";
3662
+ };
3663
+ readonly prompt: {
3664
+ readonly type: "text";
3665
+ readonly predicate: string;
3666
+ readonly description: "Runtime prompt projection.";
3667
+ };
3668
+ readonly issue: {
3669
+ readonly type: "uri";
3670
+ readonly predicate: string;
3671
+ readonly references: {
3672
+ readonly resource: "issue";
3673
+ readonly key: "id";
3674
+ };
3675
+ readonly description: "Originating issue.";
3676
+ };
3677
+ readonly message: {
3678
+ readonly type: "uri";
3679
+ readonly predicate: string;
3680
+ readonly description: "Message that produced this task.";
3681
+ };
3682
+ readonly workspace: {
3683
+ readonly type: "uri";
3684
+ readonly predicate: string;
3685
+ readonly required: true;
3686
+ readonly description: "Workspace URI.";
3687
+ };
3688
+ readonly status: {
3689
+ readonly type: "string";
3690
+ readonly predicate: string;
3691
+ readonly description: "Task lifecycle status.";
3692
+ };
3693
+ readonly priority: {
3694
+ readonly type: "string";
3695
+ readonly predicate: string;
3696
+ readonly description: "Priority.";
3697
+ };
3698
+ readonly assignedTo: {
3699
+ readonly type: "uri";
3700
+ readonly predicate: string;
3701
+ readonly description: "Assignee WebID or agent URI.";
3702
+ };
3703
+ readonly source: {
3704
+ readonly type: "uri";
3705
+ readonly predicate: string;
3706
+ readonly description: "Source resource.";
3707
+ };
3708
+ readonly metadata: {
3709
+ readonly type: "json";
3710
+ readonly predicate: string;
3711
+ readonly description: "Opaque adapter metadata.";
3712
+ };
3713
+ }>, PodModelDescriptorWithFields<{
3714
+ readonly id: {
3715
+ readonly type: "string";
3716
+ readonly predicate: string;
3717
+ readonly required: true;
3718
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3719
+ };
3720
+ readonly task: {
3721
+ readonly type: "uri";
3722
+ readonly predicate: string;
3723
+ readonly references: {
3724
+ readonly resource: "task";
3725
+ readonly key: "id";
3726
+ };
3727
+ readonly required: true;
3728
+ readonly description: "Scheduled task.";
3729
+ };
3730
+ readonly status: {
3731
+ readonly type: "string";
3732
+ readonly predicate: string;
3733
+ readonly description: "Schedule lifecycle status.";
3734
+ };
3735
+ readonly scheduleKind: {
3736
+ readonly type: "string";
3737
+ readonly predicate: string;
3738
+ readonly description: "Schedule kind: once, interval, or cron.";
3739
+ };
3740
+ readonly cron: {
3741
+ readonly type: "string";
3742
+ readonly predicate: string;
3743
+ readonly description: "Cron expression.";
3744
+ };
3745
+ readonly intervalSeconds: {
3746
+ readonly type: "number";
3747
+ readonly predicate: string;
3748
+ readonly description: "Interval in seconds.";
3749
+ };
3750
+ readonly timezone: {
3751
+ readonly type: "string";
3752
+ readonly predicate: string;
3753
+ readonly description: "Timezone.";
3754
+ };
3755
+ readonly startsAt: {
3756
+ readonly type: "timestamp";
3757
+ readonly predicate: string;
3758
+ readonly description: "Start timestamp.";
3759
+ };
3760
+ readonly nextRunAt: {
3761
+ readonly type: "timestamp";
3762
+ readonly predicate: string;
3763
+ readonly description: "Next run timestamp.";
3764
+ };
3765
+ readonly lastRunAt: {
3766
+ readonly type: "timestamp";
3767
+ readonly predicate: string;
3768
+ readonly description: "Last run timestamp.";
3769
+ };
3770
+ readonly metadata: {
3771
+ readonly type: "json";
3772
+ readonly predicate: string;
3773
+ readonly description: "Opaque adapter metadata.";
3774
+ };
3775
+ }>, PodModelDescriptorWithFields<{
3776
+ readonly id: {
3777
+ readonly type: "string";
3778
+ readonly predicate: string;
3779
+ readonly required: true;
3780
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3781
+ };
3782
+ readonly title: {
3783
+ readonly type: "string";
3784
+ readonly predicate: string;
3785
+ readonly required: true;
3786
+ readonly description: "Rule title.";
3787
+ };
3788
+ readonly description: {
3789
+ readonly type: "text";
3790
+ readonly predicate: string;
3791
+ readonly description: "Rule description.";
3792
+ };
3793
+ readonly status: {
3794
+ readonly type: "string";
3795
+ readonly predicate: string;
3796
+ readonly description: "Rule lifecycle status.";
3797
+ };
3798
+ readonly ruleKind: {
3799
+ readonly type: "string";
3800
+ readonly predicate: string;
3801
+ readonly description: "Rule kind: event, schedule, or manual.";
3802
+ };
3803
+ readonly task: {
3804
+ readonly type: "uri";
3805
+ readonly predicate: string;
3806
+ readonly references: {
3807
+ readonly resource: "task";
3808
+ readonly key: "id";
3809
+ };
3810
+ readonly description: "Task dispatched by this rule.";
3811
+ };
3812
+ readonly schedule: {
3813
+ readonly type: "uri";
3814
+ readonly predicate: string;
3815
+ readonly references: {
3816
+ readonly resource: "schedule";
3817
+ readonly key: "id";
3818
+ };
3819
+ readonly description: "Schedule that triggers this rule.";
3820
+ };
3821
+ readonly source: {
3822
+ readonly type: "uri";
3823
+ readonly predicate: string;
3824
+ readonly description: "Source resource.";
3825
+ };
3826
+ readonly target: {
3827
+ readonly type: "uri";
3828
+ readonly predicate: string;
3829
+ readonly description: "Target resource.";
3830
+ };
3831
+ readonly condition: {
3832
+ readonly type: "json";
3833
+ readonly predicate: string;
3834
+ readonly description: "Structured condition.";
3835
+ };
3836
+ readonly actions: {
3837
+ readonly type: "json";
3838
+ readonly predicate: string;
3839
+ readonly description: "Structured actions.";
3840
+ };
3841
+ readonly metadata: {
3842
+ readonly type: "json";
3843
+ readonly predicate: string;
3844
+ readonly description: "Opaque adapter metadata.";
3845
+ };
3846
+ readonly lastTriggeredAt: {
3847
+ readonly type: "timestamp";
3848
+ readonly predicate: string;
3849
+ readonly description: "Last trigger timestamp.";
3850
+ };
3851
+ readonly lastRunStatus: {
3852
+ readonly type: "string";
3853
+ readonly predicate: string;
3854
+ readonly description: "Last run status.";
3855
+ };
3856
+ }>, PodModelDescriptorWithFields<{
3857
+ readonly id: {
3858
+ readonly type: "string";
3859
+ readonly predicate: string;
3860
+ readonly required: true;
3861
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3862
+ };
3863
+ readonly kind: {
3864
+ readonly type: "string";
3865
+ readonly predicate: string;
3866
+ readonly description: "Delivery kind.";
3867
+ };
3868
+ readonly status: {
3869
+ readonly type: "string";
3870
+ readonly predicate: string;
3871
+ readonly description: "Delivery lifecycle status.";
3872
+ };
3873
+ readonly task: {
3874
+ readonly type: "uri";
3875
+ readonly predicate: string;
3876
+ readonly references: {
3877
+ readonly resource: "task";
3878
+ readonly key: "id";
3879
+ };
3880
+ readonly description: "Task being delivered.";
3881
+ };
3882
+ readonly source: {
3883
+ readonly type: "uri";
3884
+ readonly predicate: string;
3885
+ readonly description: "Source resource.";
3886
+ };
3887
+ readonly target: {
3888
+ readonly type: "uri";
3889
+ readonly predicate: string;
3890
+ readonly description: "Target resource.";
3891
+ };
3892
+ readonly chat: {
3893
+ readonly type: "uri";
3894
+ readonly predicate: string;
3895
+ readonly references: {
3896
+ readonly resource: "chat";
3897
+ readonly key: "id";
3898
+ };
3899
+ readonly description: "Related chat.";
3900
+ };
3901
+ readonly thread: {
3902
+ readonly type: "uri";
3903
+ readonly predicate: string;
3904
+ readonly references: {
3905
+ readonly resource: "thread";
3906
+ readonly key: "id";
3907
+ };
3908
+ readonly description: "Source thread.";
3909
+ };
3910
+ readonly targetThread: {
3911
+ readonly type: "uri";
3912
+ readonly predicate: string;
3913
+ readonly references: {
3914
+ readonly resource: "thread";
3915
+ readonly key: "id";
3916
+ };
3917
+ readonly description: "Target thread.";
3918
+ };
3919
+ readonly targetSession: {
3920
+ readonly type: "uri";
3921
+ readonly predicate: string;
3922
+ readonly description: "Target session.";
3923
+ };
3924
+ readonly actor: {
3925
+ readonly type: "uri";
3926
+ readonly predicate: string;
3927
+ readonly description: "Actor.";
3928
+ };
3929
+ readonly object: {
3930
+ readonly type: "uri";
3931
+ readonly predicate: string;
3932
+ readonly description: "Object resource.";
3933
+ };
3934
+ readonly objective: {
3935
+ readonly type: "text";
3936
+ readonly predicate: string;
3937
+ readonly description: "Short objective.";
3938
+ };
3939
+ readonly payload: {
3940
+ readonly type: "json";
3941
+ readonly predicate: string;
3942
+ readonly description: "Structured payload.";
3943
+ };
3944
+ readonly projection: {
3945
+ readonly type: "json";
3946
+ readonly predicate: string;
3947
+ readonly description: "Runtime projection.";
3948
+ };
3949
+ readonly projectedRole: {
3950
+ readonly type: "string";
3951
+ readonly predicate: string;
3952
+ readonly description: "Projected runtime role.";
3953
+ };
3954
+ readonly metadata: {
3955
+ readonly type: "json";
3956
+ readonly predicate: string;
3957
+ readonly description: "Opaque adapter metadata.";
3958
+ };
3959
+ readonly error: {
3960
+ readonly type: "text";
3961
+ readonly predicate: string;
3962
+ readonly description: "Failure detail.";
3963
+ };
3964
+ readonly dispatchedAt: {
3965
+ readonly type: "timestamp";
3966
+ readonly predicate: string;
3967
+ readonly description: "Dispatch timestamp.";
3968
+ };
3969
+ readonly consumedAt: {
3970
+ readonly type: "timestamp";
3971
+ readonly predicate: string;
3972
+ readonly description: "Consumption timestamp.";
3973
+ };
3974
+ readonly completedAt: {
3975
+ readonly type: "timestamp";
3976
+ readonly predicate: string;
3977
+ readonly description: "Completion timestamp.";
3978
+ };
3979
+ }>, PodModelDescriptorWithFields<{
3980
+ readonly id: {
3981
+ readonly type: "string";
3982
+ readonly predicate: string;
3983
+ readonly required: true;
3984
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
3985
+ };
3986
+ readonly task: {
3987
+ readonly type: "uri";
3988
+ readonly predicate: string;
3989
+ readonly references: {
3990
+ readonly resource: "task";
3991
+ readonly key: "id";
3992
+ };
3993
+ readonly description: "Task being executed.";
3994
+ };
3995
+ readonly delivery: {
3996
+ readonly type: "uri";
3997
+ readonly predicate: string;
3998
+ readonly references: {
3999
+ readonly resource: "delivery";
4000
+ readonly key: "id";
4001
+ };
4002
+ readonly description: "Delivery that caused or carries this run.";
4003
+ };
4004
+ readonly trigger: {
4005
+ readonly type: "uri";
4006
+ readonly predicate: string;
4007
+ readonly description: "Resource that triggered the run.";
4008
+ };
4009
+ readonly input: {
4010
+ readonly type: "uri";
4011
+ readonly predicate: string;
4012
+ readonly description: "Concrete input/context projection resource.";
4013
+ };
4014
+ readonly thread: {
4015
+ readonly type: "uri";
4016
+ readonly predicate: string;
4017
+ readonly references: {
4018
+ readonly resource: "thread";
4019
+ readonly key: "id";
4020
+ };
4021
+ readonly required: true;
4022
+ readonly description: "Runtime thread.";
4023
+ };
4024
+ readonly workspace: {
4025
+ readonly type: "uri";
4026
+ readonly predicate: string;
4027
+ readonly required: true;
4028
+ readonly description: "Workspace URI.";
4029
+ };
4030
+ readonly status: {
4031
+ readonly type: "string";
4032
+ readonly predicate: string;
4033
+ readonly description: "Run lifecycle status.";
4034
+ };
4035
+ readonly runner: {
4036
+ readonly type: "string";
4037
+ readonly predicate: string;
4038
+ readonly required: true;
4039
+ readonly description: "Runtime implementation.";
4040
+ };
4041
+ readonly prompt: {
4042
+ readonly type: "string";
4043
+ readonly predicate: string;
4044
+ readonly description: "Prompt or prompt version.";
4045
+ };
4046
+ readonly externalRunId: {
4047
+ readonly type: "string";
4048
+ readonly predicate: string;
4049
+ readonly description: "Opaque external runtime id; not a resource relation.";
4050
+ };
4051
+ readonly leaseOwner: {
4052
+ readonly type: "string";
4053
+ readonly predicate: string;
4054
+ readonly description: "Lease owner.";
4055
+ };
4056
+ readonly leaseExpiresAt: {
4057
+ readonly type: "timestamp";
4058
+ readonly predicate: string;
4059
+ readonly description: "Lease expiration timestamp.";
4060
+ };
4061
+ readonly heartbeatAt: {
4062
+ readonly type: "timestamp";
4063
+ readonly predicate: string;
4064
+ readonly description: "Heartbeat timestamp.";
4065
+ };
4066
+ readonly cancelRequestedAt: {
4067
+ readonly type: "timestamp";
4068
+ readonly predicate: string;
4069
+ readonly description: "Cancel request timestamp.";
4070
+ };
4071
+ readonly error: {
4072
+ readonly type: "string";
4073
+ readonly predicate: string;
4074
+ readonly description: "Failure detail.";
4075
+ };
4076
+ readonly metadata: {
4077
+ readonly type: "json";
4078
+ readonly predicate: string;
4079
+ readonly description: "Opaque adapter metadata.";
4080
+ };
4081
+ readonly startedAt: {
4082
+ readonly type: "timestamp";
4083
+ readonly predicate: string;
4084
+ readonly description: "Start timestamp.";
4085
+ };
4086
+ readonly completedAt: {
4087
+ readonly type: "timestamp";
4088
+ readonly predicate: string;
4089
+ readonly description: "Completion timestamp.";
4090
+ };
4091
+ }>, PodModelDescriptorWithFields<{
4092
+ readonly id: {
4093
+ readonly type: "string";
4094
+ readonly predicate: string;
4095
+ readonly required: true;
4096
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4097
+ };
4098
+ readonly run: {
4099
+ readonly type: "uri";
4100
+ readonly predicate: string;
4101
+ readonly references: {
4102
+ readonly resource: "run";
4103
+ readonly key: "id";
4104
+ };
4105
+ readonly required: true;
4106
+ readonly description: "Run this step belongs to.";
4107
+ };
4108
+ readonly stepType: {
4109
+ readonly type: "string";
4110
+ readonly predicate: string;
4111
+ readonly required: true;
4112
+ readonly description: "RunStep event type.";
4113
+ };
4114
+ readonly message: {
4115
+ readonly type: "string";
4116
+ readonly predicate: string;
4117
+ readonly description: "Human-readable step message.";
4118
+ };
4119
+ readonly payload: {
4120
+ readonly type: "json";
4121
+ readonly predicate: string;
4122
+ readonly description: "Structured step payload.";
4123
+ };
4124
+ }>, PodModelDescriptorWithFields<{
4125
+ readonly id: {
4126
+ readonly type: "string";
4127
+ readonly predicate: string;
4128
+ readonly required: true;
4129
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4130
+ };
4131
+ readonly evidenceKind: {
4132
+ readonly type: "string";
4133
+ readonly predicate: string;
4134
+ readonly required: true;
4135
+ readonly description: "Evidence kind.";
4136
+ };
4137
+ readonly about: {
4138
+ readonly type: "uri";
4139
+ readonly predicate: string;
4140
+ readonly required: true;
4141
+ readonly description: "Control object this evidence supports.";
4142
+ };
4143
+ readonly issue: {
4144
+ readonly type: "uri";
4145
+ readonly predicate: string;
4146
+ readonly references: {
4147
+ readonly resource: "issue";
4148
+ readonly key: "id";
4149
+ };
4150
+ readonly description: "Related issue.";
4151
+ };
4152
+ readonly task: {
4153
+ readonly type: "uri";
4154
+ readonly predicate: string;
4155
+ readonly references: {
4156
+ readonly resource: "task";
4157
+ readonly key: "id";
4158
+ };
4159
+ readonly description: "Related task.";
4160
+ };
4161
+ readonly delivery: {
4162
+ readonly type: "uri";
4163
+ readonly predicate: string;
4164
+ readonly references: {
4165
+ readonly resource: "delivery";
4166
+ readonly key: "id";
4167
+ };
4168
+ readonly description: "Related delivery.";
4169
+ };
4170
+ readonly run: {
4171
+ readonly type: "uri";
4172
+ readonly predicate: string;
4173
+ readonly references: {
4174
+ readonly resource: "run";
4175
+ readonly key: "id";
4176
+ };
4177
+ readonly description: "Related run.";
4178
+ };
4179
+ readonly thread: {
4180
+ readonly type: "uri";
4181
+ readonly predicate: string;
4182
+ readonly references: {
4183
+ readonly resource: "thread";
4184
+ readonly key: "id";
4185
+ };
4186
+ readonly description: "Related thread.";
4187
+ };
4188
+ readonly summary: {
4189
+ readonly type: "text";
4190
+ readonly predicate: string;
4191
+ readonly description: "Evidence summary.";
4192
+ };
4193
+ readonly source: {
4194
+ readonly type: "uri";
4195
+ readonly predicate: string;
4196
+ readonly description: "Source artifact or document.";
4197
+ };
4198
+ readonly actor: {
4199
+ readonly type: "uri";
4200
+ readonly predicate: string;
4201
+ readonly description: "Actor that produced the evidence.";
4202
+ };
4203
+ readonly outcome: {
4204
+ readonly type: "string";
4205
+ readonly predicate: string;
4206
+ readonly description: "Evidence outcome.";
4207
+ };
4208
+ readonly metadata: {
4209
+ readonly type: "json";
4210
+ readonly predicate: string;
4211
+ readonly description: "Opaque adapter metadata.";
4212
+ };
4213
+ }>, PodModelDescriptorWithFields<{
4214
+ readonly id: {
4215
+ readonly type: "string";
4216
+ readonly predicate: string;
4217
+ readonly required: true;
4218
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4219
+ };
4220
+ readonly reportKind: {
4221
+ readonly type: "string";
4222
+ readonly predicate: string;
4223
+ readonly required: true;
4224
+ readonly description: "Report kind.";
4225
+ };
4226
+ readonly status: {
4227
+ readonly type: "string";
4228
+ readonly predicate: string;
4229
+ readonly description: "Report lifecycle status.";
4230
+ };
4231
+ readonly outcome: {
4232
+ readonly type: "string";
4233
+ readonly predicate: string;
4234
+ readonly description: "Reported outcome.";
4235
+ };
4236
+ readonly about: {
4237
+ readonly type: "uri";
4238
+ readonly predicate: string;
4239
+ readonly required: true;
4240
+ readonly description: "Control object being summarized.";
4241
+ };
4242
+ readonly issue: {
4243
+ readonly type: "uri";
4244
+ readonly predicate: string;
4245
+ readonly references: {
4246
+ readonly resource: "issue";
4247
+ readonly key: "id";
4248
+ };
4249
+ readonly description: "Related issue.";
4250
+ };
4251
+ readonly task: {
4252
+ readonly type: "uri";
4253
+ readonly predicate: string;
4254
+ readonly references: {
4255
+ readonly resource: "task";
4256
+ readonly key: "id";
4257
+ };
4258
+ readonly description: "Related task.";
4259
+ };
4260
+ readonly delivery: {
4261
+ readonly type: "uri";
4262
+ readonly predicate: string;
4263
+ readonly references: {
4264
+ readonly resource: "delivery";
4265
+ readonly key: "id";
4266
+ };
4267
+ readonly description: "Related delivery.";
4268
+ };
4269
+ readonly run: {
4270
+ readonly type: "uri";
4271
+ readonly predicate: string;
4272
+ readonly references: {
4273
+ readonly resource: "run";
4274
+ readonly key: "id";
4275
+ };
4276
+ readonly description: "Related run.";
4277
+ };
4278
+ readonly thread: {
4279
+ readonly type: "uri";
4280
+ readonly predicate: string;
4281
+ readonly references: {
4282
+ readonly resource: "thread";
4283
+ readonly key: "id";
4284
+ };
4285
+ readonly description: "Related thread.";
4286
+ };
4287
+ readonly evidence: {
4288
+ readonly type: "uri";
4289
+ readonly predicate: string;
4290
+ readonly references: {
4291
+ readonly resource: "evidence";
4292
+ readonly key: "id";
4293
+ };
4294
+ readonly array: true;
4295
+ readonly description: "Evidence summarized by this report.";
4296
+ };
4297
+ readonly summary: {
4298
+ readonly type: "text";
4299
+ readonly predicate: string;
4300
+ readonly required: true;
4301
+ readonly description: "Report summary.";
4302
+ };
4303
+ readonly reviewer: {
4304
+ readonly type: "uri";
4305
+ readonly predicate: string;
4306
+ readonly description: "Reviewer.";
4307
+ };
4308
+ readonly actor: {
4309
+ readonly type: "uri";
4310
+ readonly predicate: string;
4311
+ readonly description: "Actor that produced the report.";
4312
+ };
4313
+ readonly source: {
4314
+ readonly type: "uri";
4315
+ readonly predicate: string;
4316
+ readonly description: "Source artifact or document.";
4317
+ };
4318
+ readonly metricFacts: {
4319
+ readonly type: "json";
4320
+ readonly predicate: string;
4321
+ readonly description: "Structured metric facts.";
4322
+ };
4323
+ readonly metadata: {
4324
+ readonly type: "json";
4325
+ readonly predicate: string;
4326
+ readonly description: "Opaque adapter metadata.";
4327
+ };
4328
+ readonly publishedAt: {
4329
+ readonly type: "timestamp";
4330
+ readonly predicate: string;
4331
+ readonly description: "Publication timestamp.";
4332
+ };
4333
+ }>, PodModelDescriptorWithFields<{
4334
+ readonly id: {
4335
+ readonly type: "string";
4336
+ readonly predicate: string;
4337
+ readonly required: true;
4338
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4339
+ };
4340
+ readonly source: {
4341
+ readonly type: "uri";
4342
+ readonly predicate: string;
4343
+ readonly required: true;
4344
+ readonly description: "Original message, file, URL, fetched document, or resource being considered.";
4345
+ };
4346
+ readonly summary: {
4347
+ readonly type: "text";
4348
+ readonly predicate: string;
4349
+ readonly required: true;
4350
+ readonly description: "Concise statement of what might be worth saving.";
4351
+ };
4352
+ readonly suggestedType: {
4353
+ readonly type: "uri";
4354
+ readonly predicate: string;
4355
+ readonly description: "Proposed formal resource class such as Idea, Evidence, Note, Decision, Preference, Link, or ContactInfo.";
4356
+ };
4357
+ readonly suggestedTarget: {
4358
+ readonly type: "uri";
4359
+ readonly predicate: string;
4360
+ readonly description: "Proposed folder, collection, project, task, issue, chat, or other scope.";
4361
+ };
4362
+ readonly confidence: {
4363
+ readonly type: "string";
4364
+ readonly predicate: string;
4365
+ readonly description: "Classifier confidence: high, medium, or low.";
4366
+ };
4367
+ readonly reason: {
4368
+ readonly type: "text";
4369
+ readonly predicate: string;
4370
+ readonly description: "Short rationale for why this source might be worth capturing.";
4371
+ };
4372
+ readonly status: {
4373
+ readonly type: "string";
4374
+ readonly predicate: string;
4375
+ readonly description: "Candidate lifecycle status such as candidate, promoted, rejected, duplicate, ignored, or superseded.";
4376
+ };
4377
+ readonly sourceHash: {
4378
+ readonly type: "string";
4379
+ readonly predicate: string;
4380
+ readonly description: "Optional source digest for duplicate detection.";
4381
+ };
4382
+ readonly chat: {
4383
+ readonly type: "uri";
4384
+ readonly predicate: string;
4385
+ readonly references: {
4386
+ readonly resource: "chat";
4387
+ readonly key: "id";
4388
+ };
4389
+ readonly description: "Related chat command surface.";
4390
+ };
4391
+ readonly thread: {
4392
+ readonly type: "uri";
4393
+ readonly predicate: string;
4394
+ readonly references: {
4395
+ readonly resource: "thread";
4396
+ readonly key: "id";
4397
+ };
4398
+ readonly description: "Related concrete thread/work site.";
4399
+ };
4400
+ readonly task: {
4401
+ readonly type: "uri";
4402
+ readonly predicate: string;
4403
+ readonly references: {
4404
+ readonly resource: "task";
4405
+ readonly key: "id";
4406
+ };
4407
+ readonly description: "Related task.";
4408
+ };
4409
+ readonly run: {
4410
+ readonly type: "uri";
4411
+ readonly predicate: string;
4412
+ readonly references: {
4413
+ readonly resource: "run";
4414
+ readonly key: "id";
4415
+ };
4416
+ readonly description: "Related run.";
4417
+ };
4418
+ readonly actor: {
4419
+ readonly type: "uri";
4420
+ readonly predicate: string;
4421
+ readonly description: "Secretary, user, or worker that created the candidate.";
4422
+ };
4423
+ readonly metadata: {
4424
+ readonly type: "json";
4425
+ readonly predicate: string;
4426
+ readonly description: "Opaque adapter-local metadata; shared relations must be explicit fields.";
4427
+ };
4428
+ readonly createdAt: {
4429
+ readonly type: "timestamp";
4430
+ readonly predicate: string;
4431
+ readonly description: "Creation timestamp.";
4432
+ };
4433
+ readonly updatedAt: {
4434
+ readonly type: "timestamp";
4435
+ readonly predicate: string;
4436
+ readonly description: "Last update timestamp.";
4437
+ };
4438
+ }>, PodModelDescriptorWithFields<{
4439
+ readonly id: {
4440
+ readonly type: "string";
4441
+ readonly predicate: string;
4442
+ readonly required: true;
4443
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4444
+ };
4445
+ readonly source: {
4446
+ readonly type: "uri";
4447
+ readonly predicate: string;
4448
+ readonly required: true;
4449
+ readonly description: "Original message, file, URL, fetched document, or resource considered by capture.";
4450
+ };
4451
+ readonly captureCandidate: {
4452
+ readonly type: "uri";
4453
+ readonly predicate: string;
4454
+ readonly references: {
4455
+ readonly resource: "capture-candidate";
4456
+ readonly key: "id";
4457
+ };
4458
+ readonly description: "Candidate resource involved in this event, when applicable.";
4459
+ };
4460
+ readonly targetResource: {
4461
+ readonly type: "uri";
4462
+ readonly predicate: string;
4463
+ readonly description: "Formal resource affected by this capture decision.";
4464
+ };
4465
+ readonly decision: {
4466
+ readonly type: "string";
4467
+ readonly predicate: string;
4468
+ readonly required: true;
4469
+ readonly description: "Decision such as direct_commit, optimistic_commit, candidate_created, promoted, rejected, corrected, rollback, duplicate, or ignored.";
4470
+ };
4471
+ readonly suggestedType: {
4472
+ readonly type: "uri";
4473
+ readonly predicate: string;
4474
+ readonly description: "Type suggested at decision time.";
4475
+ };
4476
+ readonly suggestedTarget: {
4477
+ readonly type: "uri";
4478
+ readonly predicate: string;
4479
+ readonly description: "Target suggested at decision time.";
4480
+ };
4481
+ readonly confidence: {
4482
+ readonly type: "string";
4483
+ readonly predicate: string;
4484
+ readonly description: "Classifier confidence at decision time.";
4485
+ };
4486
+ readonly reason: {
4487
+ readonly type: "text";
4488
+ readonly predicate: string;
4489
+ readonly description: "Explanation for the capture decision.";
4490
+ };
4491
+ readonly userCorrection: {
4492
+ readonly type: "text";
4493
+ readonly predicate: string;
4494
+ readonly description: "User correction to type, target, title, summary, or content.";
4495
+ };
4496
+ readonly approval: {
4497
+ readonly type: "uri";
4498
+ readonly predicate: string;
4499
+ readonly references: {
4500
+ readonly resource: "approval";
4501
+ readonly key: "id";
4502
+ };
4503
+ readonly description: "ApprovalRequest controlling an authority gate, if any.";
4504
+ };
4505
+ readonly inputRequest: {
4506
+ readonly type: "uri";
4507
+ readonly predicate: string;
4508
+ readonly references: {
4509
+ readonly resource: "input-request";
4510
+ readonly key: "id";
4511
+ };
4512
+ readonly description: "InputRequest controlling missing information, if any.";
4513
+ };
4514
+ readonly chat: {
4515
+ readonly type: "uri";
4516
+ readonly predicate: string;
4517
+ readonly references: {
4518
+ readonly resource: "chat";
4519
+ readonly key: "id";
4520
+ };
4521
+ readonly description: "Related chat command surface.";
4522
+ };
4523
+ readonly thread: {
4524
+ readonly type: "uri";
4525
+ readonly predicate: string;
4526
+ readonly references: {
4527
+ readonly resource: "thread";
4528
+ readonly key: "id";
4529
+ };
4530
+ readonly description: "Related concrete thread/work site.";
4531
+ };
4532
+ readonly task: {
4533
+ readonly type: "uri";
4534
+ readonly predicate: string;
4535
+ readonly references: {
4536
+ readonly resource: "task";
4537
+ readonly key: "id";
4538
+ };
4539
+ readonly description: "Related task.";
4540
+ };
4541
+ readonly run: {
4542
+ readonly type: "uri";
4543
+ readonly predicate: string;
4544
+ readonly references: {
4545
+ readonly resource: "run";
4546
+ readonly key: "id";
4547
+ };
4548
+ readonly description: "Related run.";
4549
+ };
4550
+ readonly actor: {
4551
+ readonly type: "uri";
4552
+ readonly predicate: string;
4553
+ readonly description: "Secretary, user, or worker that made or recorded the decision.";
4554
+ };
4555
+ readonly about: {
4556
+ readonly type: "uri";
4557
+ readonly predicate: string;
4558
+ readonly description: "Control object or semantic subject the event is about.";
4559
+ };
4560
+ readonly metadata: {
4561
+ readonly type: "json";
4562
+ readonly predicate: string;
4563
+ readonly description: "Opaque adapter-local metadata; shared relations must be explicit fields.";
4564
+ };
4565
+ readonly createdAt: {
4566
+ readonly type: "timestamp";
4567
+ readonly predicate: string;
4568
+ readonly description: "Creation timestamp.";
4569
+ };
4570
+ }>, PodModelDescriptorWithFields<{
4571
+ readonly id: {
4572
+ readonly type: "string";
4573
+ readonly predicate: string;
4574
+ readonly required: true;
4575
+ readonly description: "Base-relative resource id. For exact-id descriptors this includes the full document path and optional fragment.";
4576
+ };
4577
+ readonly owner: {
4578
+ readonly type: "uri";
4579
+ readonly predicate: string;
4580
+ readonly required: true;
4581
+ readonly description: "Session owner.";
4582
+ };
4583
+ readonly chat: {
4584
+ readonly type: "uri";
4585
+ readonly predicate: string;
4586
+ readonly references: {
4587
+ readonly resource: "chat";
4588
+ readonly key: "id";
4589
+ };
4590
+ readonly description: "Related chat.";
4591
+ };
4592
+ readonly thread: {
4593
+ readonly type: "uri";
4594
+ readonly predicate: string;
4595
+ readonly references: {
4596
+ readonly resource: "thread";
4597
+ readonly key: "id";
4598
+ };
4599
+ readonly description: "Related thread.";
4600
+ };
4601
+ readonly status: {
4602
+ readonly type: "string";
4603
+ readonly predicate: string;
4604
+ readonly description: "Session lifecycle status.";
4605
+ };
4606
+ readonly tool: {
4607
+ readonly type: "string";
4608
+ readonly predicate: string;
4609
+ readonly description: "Runtime tool or backend.";
4610
+ };
4611
+ readonly tokenUsage: {
4612
+ readonly type: "number";
4613
+ readonly predicate: string;
4614
+ readonly description: "Token usage.";
4615
+ };
4616
+ readonly messages: {
4617
+ readonly type: "uri";
4618
+ readonly predicate: string;
4619
+ readonly array: true;
4620
+ readonly description: "Messages in this session.";
4621
+ };
4622
+ readonly policy: {
4623
+ readonly type: "uri";
4624
+ readonly predicate: string;
4625
+ readonly description: "Policy resource.";
4626
+ };
4627
+ readonly policyVersion: {
4628
+ readonly type: "string";
4629
+ readonly predicate: string;
4630
+ readonly description: "Policy version.";
4631
+ };
4632
+ readonly metadata: {
4633
+ readonly type: "json";
4634
+ readonly predicate: string;
4635
+ readonly description: "Opaque adapter metadata.";
4636
+ };
4637
+ readonly archivedAt: {
4638
+ readonly type: "timestamp";
4639
+ readonly predicate: string;
4640
+ readonly description: "Archive timestamp.";
4641
+ };
4642
+ }>, PodModelDescriptorWithFields<{
4643
+ readonly id: {
4644
+ readonly type: "string";
4645
+ readonly predicate: string;
4646
+ readonly required: true;
4647
+ readonly description: "Approval request resource id, including date bucket and fragment when materialized.";
4648
+ };
4649
+ readonly session: {
4650
+ readonly type: "uri";
4651
+ readonly predicate: string;
4652
+ readonly required: true;
4653
+ readonly description: "Runtime/session resource that requested approval.";
4654
+ };
4655
+ readonly chat: {
4656
+ readonly type: "uri";
4657
+ readonly predicate: string;
4658
+ readonly references: {
4659
+ readonly resource: "chat";
4660
+ readonly key: "id";
4661
+ };
4662
+ readonly description: "Related chat command surface.";
4663
+ };
4664
+ readonly thread: {
4665
+ readonly type: "uri";
4666
+ readonly predicate: string;
4667
+ readonly references: {
4668
+ readonly resource: "thread";
4669
+ readonly key: "id";
4670
+ };
4671
+ readonly description: "Related concrete thread/work site.";
4672
+ };
4673
+ readonly toolCallId: {
4674
+ readonly type: "string";
4675
+ readonly predicate: string;
4676
+ readonly required: true;
4677
+ readonly description: "Opaque runtime tool-call identifier; not an RDF resource link.";
4678
+ };
4679
+ readonly toolName: {
4680
+ readonly type: "string";
4681
+ readonly predicate: string;
4682
+ readonly required: true;
4683
+ readonly description: "Runtime tool name that requires approval.";
4684
+ };
4685
+ readonly target: {
4686
+ readonly type: "uri";
4687
+ readonly predicate: string;
4688
+ readonly required: true;
4689
+ readonly description: "Target resource for the requested action. Schema field uses ODRL target in the executable resource.";
4690
+ };
4691
+ readonly action: {
4692
+ readonly type: "uri";
4693
+ readonly predicate: string;
4694
+ readonly required: true;
4695
+ readonly description: "Requested action URI. Schema field uses ODRL action in the executable resource.";
4696
+ };
4697
+ readonly risk: {
4698
+ readonly type: "string";
4699
+ readonly predicate: string;
4700
+ readonly required: true;
4701
+ readonly description: "Risk level assigned by the runtime or policy layer.";
4702
+ };
4703
+ readonly status: {
4704
+ readonly type: "string";
4705
+ readonly predicate: string;
4706
+ readonly description: "Approval lifecycle status such as pending, handling, approved, rejected, resolved, or expired.";
4707
+ };
4708
+ readonly leaseOwner: {
4709
+ readonly type: "string";
4710
+ readonly predicate: string;
4711
+ readonly description: "Client/runtime id that currently owns the Inbox/approval handling lease.";
4712
+ };
4713
+ readonly leaseExpiresAt: {
4714
+ readonly type: "timestamp";
4715
+ readonly predicate: string;
4716
+ readonly description: "Expiration timestamp for the handling lease.";
4717
+ };
4718
+ readonly assignedTo: {
4719
+ readonly type: "uri";
4720
+ readonly predicate: string;
4721
+ readonly description: "WebID or agent resource assigned to decide the request.";
4722
+ };
4723
+ readonly decisionBy: {
4724
+ readonly type: "uri";
4725
+ readonly predicate: string;
4726
+ readonly description: "WebID or agent resource that made the decision.";
4727
+ };
4728
+ readonly decisionRole: {
4729
+ readonly type: "string";
4730
+ readonly predicate: string;
4731
+ readonly description: "Role of the decision maker, for example human or secretary.";
4732
+ };
4733
+ readonly onBehalfOf: {
4734
+ readonly type: "uri";
4735
+ readonly predicate: string;
4736
+ readonly description: "User WebID or principal on whose behalf the decision applies.";
4737
+ };
4738
+ readonly reason: {
4739
+ readonly type: "text";
4740
+ readonly predicate: string;
4741
+ readonly description: "Decision reason or policy explanation.";
4742
+ };
4743
+ readonly context: {
4744
+ readonly type: "text";
4745
+ readonly predicate: string;
4746
+ readonly description: "Concise request context. Long evidence belongs in linked files/resources.";
4747
+ };
4748
+ readonly approvalOptions: {
4749
+ readonly type: "text";
4750
+ readonly predicate: string;
4751
+ readonly description: "Serialized approval options offered by the runtime.";
4752
+ };
4753
+ readonly policyVersion: {
4754
+ readonly type: "string";
4755
+ readonly predicate: string;
4756
+ readonly description: "Policy version used to create or resolve this approval.";
4757
+ };
4758
+ readonly createdAt: {
4759
+ readonly type: "timestamp";
4760
+ readonly predicate: string;
4761
+ readonly description: "Creation timestamp.";
4762
+ };
4763
+ readonly expiresAt: {
4764
+ readonly type: "timestamp";
4765
+ readonly predicate: string;
4766
+ readonly description: "Business deadline after which the request should no longer be acted on.";
4767
+ };
4768
+ readonly resolvedAt: {
4769
+ readonly type: "timestamp";
4770
+ readonly predicate: string;
4771
+ readonly description: "Decision timestamp.";
4772
+ };
4773
+ }>, PodModelDescriptorWithFields<{
4774
+ readonly id: {
4775
+ readonly type: "string";
4776
+ readonly predicate: string;
4777
+ readonly required: true;
4778
+ readonly description: "Input request resource id, including date bucket and fragment when materialized.";
4779
+ };
4780
+ readonly session: {
4781
+ readonly type: "uri";
4782
+ readonly predicate: string;
4783
+ readonly required: true;
4784
+ readonly description: "Runtime/session resource waiting for input.";
4785
+ };
4786
+ readonly chat: {
4787
+ readonly type: "uri";
4788
+ readonly predicate: string;
4789
+ readonly references: {
4790
+ readonly resource: "chat";
4791
+ readonly key: "id";
4792
+ };
4793
+ readonly description: "Related chat command surface.";
4794
+ };
4795
+ readonly thread: {
4796
+ readonly type: "uri";
4797
+ readonly predicate: string;
4798
+ readonly references: {
4799
+ readonly resource: "thread";
4800
+ readonly key: "id";
4801
+ };
4802
+ readonly description: "Related concrete thread/work site.";
4803
+ };
4804
+ readonly run: {
4805
+ readonly type: "uri";
4806
+ readonly predicate: string;
4807
+ readonly references: {
4808
+ readonly resource: "run";
4809
+ readonly key: "id";
4810
+ };
4811
+ readonly description: "Run waiting for input.";
4812
+ };
4813
+ readonly task: {
4814
+ readonly type: "uri";
4815
+ readonly predicate: string;
4816
+ readonly references: {
4817
+ readonly resource: "task";
4818
+ readonly key: "id";
4819
+ };
4820
+ readonly description: "Task whose execution requires input.";
4821
+ };
4822
+ readonly requester: {
4823
+ readonly type: "uri";
4824
+ readonly predicate: string;
4825
+ readonly description: "Runtime, worker, or Secretary resource that requested input.";
4826
+ };
4827
+ readonly requestKind: {
4828
+ readonly type: "string";
4829
+ readonly predicate: string;
4830
+ readonly required: true;
4831
+ readonly description: "Input request category such as user-input, clarification, binding, or selection.";
4832
+ };
4833
+ readonly prompt: {
4834
+ readonly type: "text";
4835
+ readonly predicate: string;
4836
+ readonly required: true;
4837
+ readonly description: "Question or missing-information prompt.";
4838
+ };
4839
+ readonly context: {
4840
+ readonly type: "text";
4841
+ readonly predicate: string;
4842
+ readonly description: "Concise request context. Long evidence belongs in linked files/resources.";
4843
+ };
4844
+ readonly inputOptions: {
4845
+ readonly type: "text";
4846
+ readonly predicate: string;
4847
+ readonly description: "Serialized options offered for the input request.";
4848
+ };
4849
+ readonly status: {
4850
+ readonly type: "string";
4851
+ readonly predicate: string;
4852
+ readonly description: "Input request lifecycle status such as pending, handling, resolved, expired, or cancelled.";
4853
+ };
4854
+ readonly leaseOwner: {
4855
+ readonly type: "string";
4856
+ readonly predicate: string;
4857
+ readonly description: "Client/runtime id that currently owns the Inbox/input handling lease.";
4858
+ };
4859
+ readonly leaseExpiresAt: {
4860
+ readonly type: "timestamp";
4861
+ readonly predicate: string;
4862
+ readonly description: "Expiration timestamp for the handling lease.";
4863
+ };
4864
+ readonly assignedTo: {
4865
+ readonly type: "uri";
4866
+ readonly predicate: string;
4867
+ readonly description: "WebID or agent resource assigned to answer the request.";
4868
+ };
4869
+ readonly response: {
4870
+ readonly type: "text";
4871
+ readonly predicate: string;
4872
+ readonly description: "Answer, selected option, or input supplied to unblock the run.";
4873
+ };
4874
+ readonly answeredBy: {
4875
+ readonly type: "uri";
4876
+ readonly predicate: string;
4877
+ readonly description: "WebID or agent resource that supplied the response.";
4878
+ };
4879
+ readonly onBehalfOf: {
4880
+ readonly type: "uri";
4881
+ readonly predicate: string;
4882
+ readonly description: "User WebID or principal on whose behalf the response applies.";
4883
+ };
4884
+ readonly reason: {
4885
+ readonly type: "text";
4886
+ readonly predicate: string;
4887
+ readonly description: "Reason or explanation for the response.";
4888
+ };
4889
+ readonly metadata: {
4890
+ readonly type: "json";
4891
+ readonly predicate: string;
4892
+ readonly description: "Opaque protocol-local metadata; shared relations must be explicit fields.";
4893
+ };
4894
+ readonly createdAt: {
4895
+ readonly type: "timestamp";
4896
+ readonly predicate: string;
4897
+ readonly description: "Creation timestamp.";
4898
+ };
4899
+ readonly expiresAt: {
4900
+ readonly type: "timestamp";
4901
+ readonly predicate: string;
4902
+ readonly description: "Business deadline after which the request should no longer be acted on.";
4903
+ };
4904
+ readonly resolvedAt: {
4905
+ readonly type: "timestamp";
4906
+ readonly predicate: string;
4907
+ readonly description: "Resolution timestamp.";
4908
+ };
4909
+ }>];
121
4910
  export declare function createPodModelDescriptorRegistry(descriptors?: readonly PodModelDescriptor[]): {
122
4911
  list(filter?: {
123
4912
  source?: PodModelDescriptorSource;