@rkat/sdk 0.8.15 → 0.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -2
- package/dist/client.js.map +1 -1
- package/dist/generated/types.d.ts +24 -3
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +5 -4
- package/dist/generated/types.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CONTRACT_VERSION = "0.8.
|
|
1
|
+
export declare const CONTRACT_VERSION = "0.8.16";
|
|
2
2
|
export type Value = unknown;
|
|
3
3
|
export interface WireUsage {
|
|
4
4
|
input_tokens: number;
|
|
@@ -1068,6 +1068,24 @@ export interface WireMobRunResultEnvelope {
|
|
|
1068
1068
|
run_id: string;
|
|
1069
1069
|
status: WireMobRunStatus;
|
|
1070
1070
|
}
|
|
1071
|
+
export interface WireWorkGraphFlowWorkRef {
|
|
1072
|
+
item_id: string;
|
|
1073
|
+
namespace: string;
|
|
1074
|
+
realm_id: string;
|
|
1075
|
+
}
|
|
1076
|
+
export interface WireWorkGraphFlowExecutionBinding {
|
|
1077
|
+
binding_id: string;
|
|
1078
|
+
binding_revision: number;
|
|
1079
|
+
created_at: string;
|
|
1080
|
+
evidence_id: string;
|
|
1081
|
+
flow_config_digest: string;
|
|
1082
|
+
flow_id: string;
|
|
1083
|
+
lifecycle_phase: WireWorkExecutionLifecyclePhase;
|
|
1084
|
+
mob_id: string;
|
|
1085
|
+
run_id: string;
|
|
1086
|
+
supersedes?: string | null;
|
|
1087
|
+
work_ref: WireWorkGraphFlowWorkRef;
|
|
1088
|
+
}
|
|
1071
1089
|
export interface WirePeerConnectivitySnapshot {
|
|
1072
1090
|
reachable_peer_count: number;
|
|
1073
1091
|
unknown_peer_count: number;
|
|
@@ -1220,6 +1238,7 @@ export interface MobFlowStatusParams {
|
|
|
1220
1238
|
run_id: string;
|
|
1221
1239
|
}
|
|
1222
1240
|
export interface MobFlowStatusResult {
|
|
1241
|
+
execution_binding?: WireWorkGraphFlowExecutionBinding | null;
|
|
1223
1242
|
run?: WireMobRun | null;
|
|
1224
1243
|
}
|
|
1225
1244
|
export interface MobRunResultParams {
|
|
@@ -1854,6 +1873,7 @@ export interface WorkEdge {
|
|
|
1854
1873
|
export interface WorkEvidenceRef {
|
|
1855
1874
|
confirmation_kind?: WorkEvidenceKind | null;
|
|
1856
1875
|
confirming_owner_key?: WorkOwnerKey | null;
|
|
1876
|
+
execution_binding_id?: string | null;
|
|
1857
1877
|
id: string;
|
|
1858
1878
|
kind: string;
|
|
1859
1879
|
label?: string | null;
|
|
@@ -2416,6 +2436,7 @@ export type WireProjectionProvenance = "host_claimed" | "controlling_host_verifi
|
|
|
2416
2436
|
export type WireReachability = "reachable" | "stale" | "unreachable" | "unknown";
|
|
2417
2437
|
export type WireNonPortableResourceKind = "rust_bundles" | "per_spawn_external_tools" | "mob_default_external_tools" | "default_llm_client_override" | "host_surface_mcp_allowlist" | "workgraph_tools";
|
|
2418
2438
|
export type WireMobRunStatus = "pending" | "running" | "completed" | "failed" | "canceled";
|
|
2439
|
+
export type WireWorkExecutionLifecyclePhase = "absent" | "launch_requested" | "launch_uncertain" | "launch_quarantined" | "running" | "evidence_projection_requested" | "failure_evidence_projection_requested" | "cancellation_evidence_projection_requested" | "launch_failure_evidence_projection_requested" | "work_closure_requested" | "flow_failed" | "flow_canceled" | "evidence_projected" | "work_closed" | "launch_failed";
|
|
2419
2440
|
export interface WirePeerConnectivityNotApplicable {
|
|
2420
2441
|
status: "not_applicable";
|
|
2421
2442
|
}
|
|
@@ -2515,14 +2536,14 @@ export interface WorkCompletionPolicyReviewerQuorum {
|
|
|
2515
2536
|
export type WorkCompletionPolicy = WorkCompletionPolicySelfAttest | WorkCompletionPolicyHostConfirmed | WorkCompletionPolicyPrincipalConfirmed | WorkCompletionPolicySupervisor | WorkCompletionPolicyReviewerQuorum;
|
|
2516
2537
|
export type WorkEdgeKind = "blocks" | "parent" | "related" | "supersedes" | "derived_from";
|
|
2517
2538
|
export type WorkEvidenceKind = "host_confirmation" | "principal_confirmation" | "supervisor_confirmation" | "reviewer_confirmation" | "self_attest";
|
|
2518
|
-
export type WorkGraphEventKind = "created" | "updated" | "claimed" | "released" | "blocked" | "closed" | "linked" | "evidence_added" | "attention_created" | "attention_updated";
|
|
2539
|
+
export type WorkGraphEventKind = "created" | "updated" | "claimed" | "released" | "blocked" | "closed" | "linked" | "evidence_added" | "attention_created" | "attention_updated" | "execution_bound" | "execution_transitioned";
|
|
2519
2540
|
export type WorkOwnerKind = "principal" | "agent" | "session" | "mob" | "label";
|
|
2520
2541
|
export type WorkStatus = "open" | "in_progress" | "blocked" | "completed" | "cancelled" | "failed";
|
|
2521
2542
|
export declare const WORK_GRAPH_STATUSES: readonly ["open", "in_progress", "blocked", "completed", "cancelled", "failed"];
|
|
2522
2543
|
export type WorkGraphStatus = typeof WORK_GRAPH_STATUSES[number];
|
|
2523
2544
|
export declare const WORK_GRAPH_PRIORITIES: readonly ["low", "medium", "high"];
|
|
2524
2545
|
export type WorkGraphPriority = typeof WORK_GRAPH_PRIORITIES[number];
|
|
2525
|
-
export declare const WORK_GRAPH_EVENT_KINDS: readonly ["created", "updated", "claimed", "released", "blocked", "closed", "linked", "evidence_added", "attention_created", "attention_updated"];
|
|
2546
|
+
export declare const WORK_GRAPH_EVENT_KINDS: readonly ["created", "updated", "claimed", "released", "blocked", "closed", "linked", "evidence_added", "attention_created", "attention_updated", "execution_bound", "execution_transitioned"];
|
|
2526
2547
|
export type McpLiveOperation = "add" | "remove" | "reload";
|
|
2527
2548
|
export type McpLiveOpStatus = "staged" | "applied" | "rejected";
|
|
2528
2549
|
export type McpHttpTransport = "streamable-http" | "sse";
|