@@ -116,28 +116,29 @@ class CredentialVaultItem(BaseModel):
116116 action : Optional [Action ] = None
117117 """
118118 One schema-derived form for the item, available in ready or pending_collection
119- state. Render every form-supported field as editable; omit totp fields and
120- preserve their stored seeds. Prefill non-sensitive values, and allow existing
121- sensitive values to be preserved or replaced without ever revealing them. No
122- field subsets or per-request form configuration exist. Validate required fields
123- against the resulting values, including preserved secrets. Submit changed values
124- only, using the version used to render the form. Scoped hosted submission
125- rejects totp edits; seed writes require the ordinary authenticated item API.
126- Customer forms likewise omit totp from their payloads. Save edits atomically. A
127- successful hosted submission increments the version, marks ready, and consumes
128- the session; an empty edit may complete collection while preserving values. A
129- customer form uses PATCH for changed values and does not send an empty PATCH
130- when nothing changed. Kernel-hosted bearer sessions require no Kernel account
131- and are bound to the item version. Expired, superseded, consumed, or
132- deleted-item sessions cannot submit. Authenticated item GET renews expired
133- active sessions for ready or pending items; pending items always receive an
134- action. A ready item with no active session omits the action until collect is
135- invoked. Concurrent renewals return the same link. Renewal changes neither
136- values nor item version. An expired link cannot renew itself. The hosted form
137- handles its collection protocol; callers only open the returned URL and do not
138- extract or submit its token through the public API. For customer-hosted forms,
139- use @onkernel/vault-react and an authenticated customer backend calling the
140- ordinary item GET/PATCH API. Kernel does not store customer collection URLs or
141- authenticate the customer's end users. Treat URLs and submitted values as
142- secrets and exclude them from logs, traces, and errors.
119+ state. Render every form-supported field as editable; omit totp and passkey
120+ fields and preserve their stored values. Prefill non-sensitive values, and allow
121+ existing sensitive values to be preserved or replaced without ever revealing
122+ them. No field subsets or per-request form configuration exist. Validate
123+ required fields against the resulting values, including preserved secrets.
124+ Submit changed values only, using the version used to render the form. Scoped
125+ hosted submission rejects totp and passkey edits; those writes require the
126+ ordinary authenticated item API. Customer forms likewise omit them from their
127+ payloads. Save edits atomically. A successful hosted submission increments the
128+ version, marks ready, and consumes the session; an empty edit may complete
129+ collection while preserving values. A customer form uses PATCH for changed
130+ values and does not send an empty PATCH when nothing changed. Kernel-hosted
131+ bearer sessions require no Kernel account and are bound to the item version.
132+ Expired, superseded, consumed, or deleted-item sessions cannot submit.
133+ Authenticated item GET renews expired active sessions for ready or pending
134+ items; pending items always receive an action. A ready item with no active
135+ session omits the action until collect is invoked. Concurrent renewals return
136+ the same link. Renewal changes neither values nor item version. An expired link
137+ cannot renew itself. The hosted form handles its collection protocol; callers
138+ only open the returned URL and do not extract or submit its token through the
139+ public API. For customer-hosted forms, use @onkernel/vault-react and an
140+ authenticated customer backend calling the ordinary item GET/PATCH API. Kernel
141+ does not store customer collection URLs or authenticate the customer's end
142+ users. Treat URLs and submitted values as secrets and exclude them from logs,
143+ traces, and errors.
143144 """
0 commit comments