018 ccp opt in

○ Planned This feature is planned but not yet implemented.

BLOCKED: Waiting for opaque annotation support in tap transform

Code

// Test 612: CCP Opt-In via Import
// Demonstrates that importing $std/ccp_taps enables JSON observability

~import "$std/ccp"

const std = @import("std");

~event greet { name: []const u8 }
| greeting { msg: []const u8 }

~proc greet {
    std.debug.print("Hello, {s}!\n", .{name});
    return .{ .greeting = .{ .msg = "Hello!" } };
}

~greet(name: "Koru")
| greeting _ |> _
input.kz