@oddington/sdk 0.1.65 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/dist/browser.js +4964 -31
- package/dist/index.js +4 -4
- package/dist/types/packages/sdk/src/public.d.ts +3 -3
- package/dist/types/packages/sdk/src/routine-definition-types.d.ts +3 -0
- package/dist/types/shared/inbox-member-contract.d.ts +6 -4
- package/dist/types/shared/inbox-member-types.d.ts +14 -14
- package/dist/types/shared/local-routine-contract.d.ts +23 -0
- package/dist/types/shared/routine-definition-contract.d.ts +3 -0
- package/dist/types/shared/routine-schedule.d.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,8 +26,10 @@ Record-search authority. The ordinary authenticated Inbox context needs no app
|
|
|
26
26
|
identity or declaration provisioning. The filter is required; `[]` returns no
|
|
27
27
|
Questions after authentication. The SDK validates and privately snapshots the
|
|
28
28
|
filter across pagination. Local apps supply the same explicit filter; their
|
|
29
|
-
trusted host rejects undeclared IDs. Each Question names its `
|
|
30
|
-
|
|
29
|
+
trusted host rejects undeclared IDs. Each Question names its `assignee`,
|
|
30
|
+
explicit `canAnswer` permission and server-calculated `status`. Focused
|
|
31
|
+
Question requests carry the `question-work-v1` contract marker; an older app
|
|
32
|
+
receives `client_update_required` instead of a generic Inbox outage.
|
|
31
33
|
Accepted Actions stay visible while waiting, working, unable to start or needing
|
|
32
34
|
review; completed Actions and accepted handlerless Questions leave the list.
|
|
33
35
|
Both use the same answer and Record-search methods, without a filter or prior list.
|
|
@@ -35,7 +37,7 @@ Both use the same answer and Record-search methods, without a filter or prior li
|
|
|
35
37
|
hints only: match them against independently authorized Data, and omit ambiguous
|
|
36
38
|
detail placement. Keep drafts on failed or uncertain acceptance, prevent duplicate
|
|
37
39
|
interaction while submitting, and show “Answer recorded” after acknowledged
|
|
38
|
-
acceptance. Refresh to show the shared
|
|
40
|
+
acceptance. Refresh to show the shared status. Detailed Activity and evidence
|
|
39
41
|
remain Inbox work. Refresh after a conflict. These
|
|
40
42
|
interaction duties belong to the consuming app's interface.
|
|
41
43
|
|
|
@@ -89,6 +91,13 @@ declared `review` handler crosses the Inbox publication seam as `review`; Inbox
|
|
|
89
91
|
retains the canonical `invoice-import` routine identity separately, without
|
|
90
92
|
deploying or executing that handler.
|
|
91
93
|
|
|
94
|
+
An optional `schedule: { cron: '0 5 * * *', timezone: 'Europe/Berlin' }`
|
|
95
|
+
declares one recurring remote trigger using five-field cron in an IANA timezone.
|
|
96
|
+
It requires omitted input or a validated top-level default and rejects local-only
|
|
97
|
+
File schemas, including empty defaulted arrays. It grants no access and supplies
|
|
98
|
+
no separate business input. Only deploying the definition can activate or change
|
|
99
|
+
the recurring trigger; inspecting the definition never runs business code.
|
|
100
|
+
|
|
92
101
|
Long customer computation inside a remote step can report advancing work with
|
|
93
102
|
`await os.run.progress({ completed, total })`. Report progress after meaningful
|
|
94
103
|
batches of work rather than after every individual item. OS capability calls and
|