Skip to content

feat(kodena): 'kodena logging on|off' + 'kodena env' commands#74

Merged
sutisnamulyana merged 1 commit into
mainfrom
feat/kodena-script-config
Jun 25, 2026
Merged

feat(kodena): 'kodena logging on|off' + 'kodena env' commands#74
sutisnamulyana merged 1 commit into
mainfrom
feat/kodena-script-config

Conversation

@sutisnamulyana

Copy link
Copy Markdown
Member

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 existing kodena 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

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).
@sutisnamulyana sutisnamulyana merged commit 0d3ae52 into main Jun 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant