Repository navigation
kiso 0.57.0. Every package on npm is at 0.57.0, and there are now 19: this release is the first publish of @vincemakes/kiso-secrets.
- One secret detector,
@vincemakes/kiso-secrets. The credential-file set, the child-environment strip, the secret-location deny list and shape-only content patterns, in one package with zero dependencies. kiso-tools-node and kiso-runtime use it. - Permission authority binds by invocation. A recorded approval authorizes a call only by its invocation number, on fresh runs and on resume. A decision from an older log no longer authorizes on resume.
- Groundwork, off by default: session records (ADR-0063 M2) and session leases (ADR-0064 A2, the new
@vincemakes/kiso-runtime/leasesubpath). - kiso web finishes a Work delete that was interrupted, at its next start.
- A new top-level folder made in a git repository is said in
write_file's result.
For hosts
@vincemakes/kiso-secretsis published for the first time.- It is one secret detector: the credential-file set (
isCredentialName,isCredentialPath), the child-environment
strip (SHELL_STRIP_EXACT,strippedShellEnv),isSecretLocationandfindSecret. - It has zero dependencies and zero imports.
kiso-tools-nodeandkiso-runtimenow depend on it, so install all three at 0.57.0 together.kiso-tools-nodestill re-exports the moved functions; no import changes.
- It is one secret detector: the credential-file set (
- Permission authority on resume (#546).
- A
permission_decidednow authorizes a call only byinvocationSeq, on fresh and resume paths. - A legacy decision (from logs before
invocationSeq) no longer authorizes on resume. It also no longer forces
an ask: the current approval chain decides the call. - Legacy execution and receipt evidence stays conservative, so an old side effect is never repeated.
- Legacy events stay readable.
- A
- A new subpath,
@vincemakes/kiso-runtime/lease(A2, 3 names), for session leases.context_bootstrapis a new core event kind. It is valid only as a session's first event, and a lease session
carries it.- A host that reads event kinds should ignore an unknown kind, as it already must.
- Session records (M2b): off by default.
- With
ContextPolicy.records.enabled(CLI:KISO_SESSION_RECORDS=1), an extra extraction side call runs after
each compaction, and its usage and cost appear in the trace. - Nothing changes for a host that does not enable it.
context_recordsis a new core event kind, written only when it is enabled.
- With
- kiso web finishes interrupted Work deletes (#548). A tombstoned id whose files were half-removed is completed at
host start. A sidecar written after the delete is left alone, and so is a tombstone with no time. loopinternals are unchanged for hosts. #545 is a zero-behaviour refactor with its terminal bytes pinned.- Still in force from 0.56.x:
- await
Agent.close(),SessionStore.close()andcloseAll(); - act on the delivered terminal event,
await handle.doneorhooks.onSettled; - don't start the next run in the same microtask chain as the terminal event;
- an abort before a persisted call's handler is
errorKind: "precondition".
- await