openxiangda-skill-kit 2.0.0-alpha.117 → 2.0.0-alpha.119
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openxiangda-skill-kit",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.119",
|
|
4
4
|
"description": "Validation and deterministic packaging for OpenXiangda 2.0 AI skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"openxiangda-devkit-core": "2.0.0-alpha.
|
|
20
|
+
"openxiangda-devkit-core": "2.0.0-alpha.97"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsx": "4.23.12",
|
|
@@ -175,3 +175,20 @@ Generated contracts intentionally emit each resource Surface once in
|
|
|
175
175
|
`resourceSurfaces`; `resourceDefinitions[code].surface` references that shared
|
|
176
176
|
object. Import the generated runtime definitions normally. Do not serialize,
|
|
177
177
|
inline or duplicate Surface literals in application code.
|
|
178
|
+
|
|
179
|
+
The standard Workflow detail renderers consume only the authoritative Surface:
|
|
180
|
+
`presentation.businessDetail`, `presentation.summary`, the typed timeline and
|
|
181
|
+
operation descriptors. Continue to use `SurfaceFieldValue` for complete field
|
|
182
|
+
semantics and the Workflow-scoped file client for attachments, rich-text images
|
|
183
|
+
and signatures. Keep desktop and mobile renderers structurally independent;
|
|
184
|
+
place decision actions in the fixed primary group, all low-frequency actions in
|
|
185
|
+
the single more-actions entry, and collect comments in the action confirmation
|
|
186
|
+
layer. The canonical desktop paths are `/tasks/:taskId` and
|
|
187
|
+
`/workflows/:instanceId`; they render as standalone full-screen pages outside
|
|
188
|
+
the admin Shell, while the platform alone replace-redirects historical admin
|
|
189
|
+
detail URLs. Filter `system: true` and internal fields, omit empty sections,
|
|
190
|
+
merge operation actor/action/reason/time into its vertical node, and never show
|
|
191
|
+
UUIDs or revision/event diagnostics. Treat `stale` as metadata and show the
|
|
192
|
+
friendly refresh prompt only after a real command token/CAS conflict. Do not
|
|
193
|
+
copy the standard page into an application merely to show full business fields
|
|
194
|
+
or rearrange platform-owned operations.
|
|
@@ -154,6 +154,40 @@ channel snapshots. Omitting `detailRouteCode` keeps the standard pages. A
|
|
|
154
154
|
declared but missing or incompatible route fails closed rather than falling
|
|
155
155
|
back silently.
|
|
156
156
|
|
|
157
|
+
When `detailRouteCode` is omitted, use the platform standard detail page. Its
|
|
158
|
+
Surface carries `presentation.businessDetail`, pinned to the instance Data
|
|
159
|
+
logical revision, declaration digest and physical resource while re-reading the
|
|
160
|
+
current values of the same Native Data record on every request. The start-time
|
|
161
|
+
`requestedRevision` remains CAS metadata; `sourceRevision` and visible values
|
|
162
|
+
must advance after a business-record update and must never become start-time
|
|
163
|
+
value snapshots. The projection applies the current user's field policy and
|
|
164
|
+
removes every `system: true` or internal field plus any empty group. Parent and subtable
|
|
165
|
+
resources stay on that same logical revision and each subtable is bounded to
|
|
166
|
+
200 rows. Render the provided summary, full field Surface, typed timeline and
|
|
167
|
+
server-owned operation descriptors; do not infer labels, operation hierarchy
|
|
168
|
+
or field semantics from codes in application code. Desktop and mobile have
|
|
169
|
+
independent renderers, low-frequency operations live under one more-actions
|
|
170
|
+
entry, and comments are collected only after an operation is selected. A
|
|
171
|
+
`stale` detail status is metadata, not a persistent banner or an action block;
|
|
172
|
+
show the friendly refresh prompt only when a command returns a real
|
|
173
|
+
`freshSurface` token/CAS conflict and never auto-replay it. Merge operation
|
|
174
|
+
actor/action/reason/time into the corresponding vertical node instead of
|
|
175
|
+
rendering a second audit block. Never render UUIDs, revision/event diagnostics
|
|
176
|
+
or a technical information section. Resolve the applicant from a directory or
|
|
177
|
+
stable snapshot and use a friendly placeholder instead of exposing userId.
|
|
178
|
+
|
|
179
|
+
The standard desktop task and instance pages use `/tasks/:taskId` and
|
|
180
|
+
`/workflows/:instanceId` as standalone full-screen routes outside the admin
|
|
181
|
+
Shell. Historical `/admin/tasks/:taskId` and `/admin/workflows/:instanceId`
|
|
182
|
+
routes only replace-redirect while preserving query/hash. Mobile remains the
|
|
183
|
+
independent `/m/tasks/:taskId` and `/m/workflows/:instanceId` surface.
|
|
184
|
+
|
|
185
|
+
Files, rich-text images and signatures on this page use only the Workflow
|
|
186
|
+
instance-scoped preview/content client. Every request is rebound to the current
|
|
187
|
+
principal, authorized instance, projected resource/record/field and managed
|
|
188
|
+
file id. Never substitute the ordinary Data API file route or put credentials
|
|
189
|
+
in a file URL.
|
|
190
|
+
|
|
157
191
|
Standard launch entry is also a platform Surface. Desktop uses
|
|
158
192
|
`/admin/workflows/:workflowCode/new` and mobile uses
|
|
159
193
|
`/m/workflows/:workflowCode/start`; both first load
|
|
@@ -204,4 +238,4 @@ Use Fake Channel before a real Adapter. Verify create, update, close, reconcile,
|
|
|
204
238
|
|
|
205
239
|
## Verification
|
|
206
240
|
|
|
207
|
-
Run the workspace generate/check/test/build gates plus real current-user positive and negative role-union cases. Acceptance must include submit, approve, reject, return/resubmit, transfer, delegate, before/after add-sign, withdraw, terminate, duplicate commands, stale revisions, repeated callbacks, full terminal card updates, detail navigation and 1.x zero-touch evidence.
|
|
241
|
+
Run the workspace generate/check/test/build gates plus real current-user positive and negative role-union cases. Acceptance must include full business-detail projection, bounded parent/subtable reads, Workflow-scoped files, independent desktop/mobile renderers, submit, approve, reject, return/resubmit, transfer, delegate, before/after add-sign, withdraw, terminate, duplicate commands, stale revisions, repeated callbacks, full terminal card updates, detail navigation and 1.x zero-touch evidence.
|