feat(kodena): 'kodena logging on|off' + 'kodena env' commands#74
Merged
Conversation
M4 of PLAN-kodena-script-config. CLI parity for the per-script logging toggle and code-script env vars: - kodena logging on|off <slug> -> PATCH /kodena/scripts/:slug/logging; flips native-logs capture without a redeploy (off by default). - kodena env list|set|unset <slug> -> reads the script, merges the var set, and redeploys the code with it (kind:code only). Values are plain text; secrets stay in 'kodena secret'. typecheck + 103 kodena tests pass; build renders both command trees. Changeset included (minor).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M4 of PLAN-kodena-script-config. CLI parity for the per-script logging toggle and code-script env vars.
What
kodena logging on|off <slug>→PATCH /kodena/scripts/:slug/logging; flips native-logs capture without a redeploy (off by default).kodena logs <slug>reads them.kodena env list|set|unset <slug>→ reads the script, merges the var set, and redeploys the code with it (kind: 'code'only). Values are plain text; secrets stay in the existingkodena secret.Both use the shared
/kodena/*gateway surface (CLI token or dashboard JWT), like every kodena command.Tests / release
typecheck+ 103 kodena tests pass; both command trees render. Changeset included (minor bump of@sawala/kodena). Depends on the backend endpoints in sawala-cloud-core #190.🤖 Generated with Claude Code