a5155aed4f
feat: add HTTP 428 sudo OTP handling to all 42 SDK implementations
...
When destructive operations (service/snapshot/image destroy/unlock) receive
HTTP 428 Precondition Required, the SDK now:
1. Extracts challenge_id from the JSON response
2. Prompts: 'Confirmation required. Check your email for a one-time code.'
3. Reads OTP from stdin
4. Retries with X-Sudo-OTP and X-Sudo-Challenge headers
Languages updated: AWK, Bash, C++, C#, Clojure, COBOL, Crystal, D, Dart,
.NET, Elixir, Erlang, F#, Forth, Fortran, Go, Groovy, Haskell, Java,
JavaScript, Julia, Kotlin, Lisp, Lua, Nim, Objective-C, OCaml, Perl, PHP,
PowerShell, Prolog, Python, R, Raku, Ruby, Rust, Scheme, Swift, Tcl,
TypeScript, V, Zig
2026-02-05 16:23:19 -05:00
7e56327056
feat: add unfreeze_on_demand to remaining 35 SDKs
...
Updated awk, bash, clojure, cobol, cpp, crystal, csharp, dart, dotnet,
d, elixir, erlang, fortran, fsharp, groovy, haskell, julia, kotlin,
lisp, lua, nim, objective-c, ocaml, perl, php (sync+async), powershell,
prolog, raku, r, scheme, swift, tcl, v, and zig SDKs:
- Add set_unfreeze_on_demand function (PATCH /services/:id)
- Add --unfreeze-on-demand flag for service creation
- Add --set-unfreeze-on-demand command for existing services
2026-01-22 17:01:19 -05:00
1077543b7c
modified: clients/awk/sync/src/un.awk
...
modified: clients/c/src/un.c
modified: clients/clojure/sync/src/un.clj
modified: clients/cobol/sync/src/un.cob
modified: clients/cpp/sync/src/un.cpp
modified: clients/crystal/sync/src/un.cr
modified: clients/d/sync/src/un.d
modified: clients/dart/sync/src/un.dart
modified: clients/elixir/sync/src/un.ex
modified: clients/erlang/sync/src/un.erl
modified: clients/forth/sync/src/un.forth
modified: clients/fortran/sync/src/un.f90
modified: clients/fsharp/sync/src/un.fs
modified: clients/haskell/sync/src/un.hs
modified: clients/julia/sync/src/un.jl
modified: clients/kotlin/sync/src/un.kt
modified: clients/lisp/sync/src/un.lisp
modified: clients/nim/sync/src/un.nim
modified: clients/ocaml/sync/src/un.ml
modified: clients/powershell/sync/src/un.ps1
modified: clients/prolog/sync/src/un.pro
modified: clients/r/sync/src/un.r
modified: clients/scheme/sync/src/un.scm
modified: clients/tcl/sync/src/un.tcl
modified: clients/typescript/sync/src/un.ts
modified: clients/v/sync/src/un.v
modified: clients/zig/sync/src/un.zig
2026-01-17 12:01:42 -05:00
af995cdc1a
feat(cli): Add languages and image commands to all 42 SDKs
...
- Add `un languages [--json]` command to list available execution languages
- Add `un image` command with full image management:
- --list, --info, --delete, --lock, --unlock
- --publish, --visibility, --spawn, --clone
- Update CLI_SPEC.md with new command documentation
- All implementations follow consistent patterns
2026-01-17 10:25:20 -05:00
b9860a93a1
feat: Complete C library API and migrate all languages to clients/
...
C SDK Library API:
- Implement all 43+ library functions with JSON parsing
- Add Image API (15 functions): list, get, publish, delete, lock/unlock,
visibility, grant/revoke access, transfer, spawn, clone
- Add infrastructure helpers: count_json_array_objects, skip_json_object,
set_last_error with thread-local storage
- Functional tests: 30/30 passing
Migration:
- Create 6 new language directories: awk, cpp, forth, lisp, objective-c, v
- Migrate all 42 un.* files to clients/*/sync/src/
- Convert root un.* files to symlinks pointing to clients/
- Add Makefiles for new languages
Files:
- clients/c/src/un.c: Full library API implementation
- clients/c/src/un.h: Image types and function declarations
- clients/c/tests/test_functional.c: API functional tests
- CLAUDE.md: Updated migration status
2026-01-17 00:11:53 -05:00
1e4fe2ef96
feat: add Makefiles for 19 more language clients
...
Add per-client Makefiles for:
- r, julia, dart, nim, crystal
- clojure, erlang, ocaml, fsharp, d, zig
- fortran, cobol, groovy, prolog
- scheme, tcl, raku, powershell
All follow the 4-mode testing pattern with
language-specific build tools and test runners.
Also update JavaScript Makefile for async ES module support.
Total: 37 language clients with Makefiles
2026-01-15 16:55:36 -05:00