@lotics/app-sdk 0.62.0 → 0.62.2

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.
@@ -17,7 +17,7 @@
17
17
  export { mount } from "./mount.js";
18
18
  export type { MountOptions } from "./mount.js";
19
19
  export { useWorkflow, useQuery, useInfiniteQuery, usePaginatedQuery, useFieldOptions, useFileUpload, useAttachments, useMembers, useAgentRun, useAgentRuns, useAiContext, buildChoiceOutput, } from "./hooks.js";
20
- export type { UploadedFile, AttachedFile, BaseQueryOptions, QueryOptions, InfiniteQueryOptions, PaginatedQueryOptions, QuerySortKey, QueryFilter, QueryFilterCondition, QueryFilterGroup, WorkflowResult, MembersOptions, AgentRunOptions, UseAgentRun, AgentRunRecord, AgentRunState, AgentUIPart, PendingChoice, ChoiceQuestion, ChoiceOption, AskUserChoiceOutput, FieldOptions, FieldOptionsState, FieldOptionsOptions, } from "./hooks.js";
20
+ export type { UploadedFile, AttachedFile, BaseQueryOptions, QueryOptions, InfiniteQueryOptions, PaginatedQueryOptions, QuerySortKey, QueryFilter, QueryFilterCondition, QueryFilterGroup, WorkflowResult, MembersOptions, AgentRunOptions, UseAgentRun, AgentRunLanding, AgentRunRecord, AgentRunState, AgentUIPart, PendingChoice, ChoiceQuestion, ChoiceOption, AskUserChoiceOutput, FieldOptions, FieldOptionsState, FieldOptionsOptions, } from "./hooks.js";
21
21
  export { useComments, useCommentCounts } from "./comments.js";
22
22
  export type { AppComment, AppCommentFile, CommentsState, UseCommentsArgs, CommentCountsState, UseCommentCountsArgs, } from "./comments.js";
23
23
  export { useViewer } from "./viewer.js";
package/docs/ai.md CHANGED
@@ -383,4 +383,4 @@ The floors below are when each capability shipped in `@lotics/app-sdk`; an app p
383
383
  | `askAi` | `@lotics/app-sdk` 0.45 |
384
384
  | `useAiContext` (ambient-chat view state + auto query refetch on chat mutation) | `@lotics/app-sdk` 0.52 |
385
385
  | The agent asks back (`pendingChoice`/`answerChoice`, `awaiting_input`) | `@lotics/app-sdk` 0.55 |
386
- | A leg resolves an `AgentRunLanding` (`settled`/`parked`/`failed`/`aborted`) instead of `TOutput \| undefined` | `@lotics/app-sdk` 0.62 |
386
+ | A leg resolves an `AgentRunLanding` (`settled`/`parked`/`failed`/`aborted`) instead of `TOutput \| undefined` — the type is exported from the package root | `@lotics/app-sdk` 0.62.1 |
package/docs/queries.md CHANGED
@@ -817,7 +817,8 @@ slice, and within it:
817
817
  - **B-tree-served (automatic for deployed queries):** text `equals`, number and date
818
818
  comparisons (exact and range), and `sort` fields — for fields referenced in a **deployed
819
819
  named query's template**. The platform provisions a partial expression index per referenced
820
- field automatically: built online on `app deploy` and `app query set`, re-synced daily,
820
+ field automatically: built online whenever a query is written (`app query set`, or a chat
821
+ draft's publish — a deploy does not write queries), re-synced daily,
821
822
  capped at 8 per table (fields past the cap fall back to the scan tier, with a server WARN).
822
823
  A `{{params.…}}` value hole doesn't change this — the field key is static in the template,
823
824
  so it still gets its index. Index-seek speed at any table size once provisioned.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.62.0",
3
+ "version": "0.62.2",
4
4
  "description": "Runtime SDK for Lotics custom-code apps — typed hooks, postMessage bridge, mount entry point",
5
5
  "type": "module",
6
6
  "exports": {