@langspan/client 0.38.0 → 0.39.0

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/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # LangSpan TypeScript client
2
2
 
3
- A client for the [LangSpan coordination
4
- protocol](https://github.com/Langspan/LangSpan.dev/blob/main/docs/protocol/README.md).
3
+ A TypeScript client for the [LangSpan coordination protocol](https://github.com/Langspan/LangSpan.dev/blob/main/docs/protocol/README.md), which connects integrations to LangSpan—the shipping layer for AI coding agents.
5
4
  It sends typed commands to a running LangSpan coordinator and returns typed
6
5
  outcomes. It has no runtime dependencies.
7
6
 
package/dist/errors.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * crate's own test pins to the enum. The usage guide's "Error codes" table
6
6
  * says what each one means.
7
7
  */
8
- export declare const ERROR_CODES: readonly ["adoption_chain", "adoption_changed", "already_adopted", "already_published", "already_retracted", "coordination_unavailable", "different_repository", "different_task", "index_export_failed", "index_import_refused", "index_unavailable", "internal", "invalid_adoption", "invalid_alert", "invalid_away", "invalid_base", "invalid_batch", "invalid_branch_oids", "invalid_branch_ref", "invalid_calls", "invalid_check", "invalid_check_report", "invalid_checkout", "invalid_command", "invalid_conflict_table", "invalid_content_digest", "invalid_coverage", "invalid_cursor", "invalid_deadline", "invalid_digest", "invalid_event", "invalid_failure", "invalid_frame", "invalid_git_oid", "invalid_graph_context", "invalid_hosts", "invalid_id", "invalid_input_digest", "invalid_key", "invalid_landing", "invalid_left", "invalid_limit", "invalid_line_digests", "invalid_lines", "invalid_message", "invalid_move", "invalid_name", "invalid_note", "invalid_notice", "invalid_number", "invalid_overwrites", "invalid_participant", "invalid_path", "invalid_paths", "invalid_payload", "invalid_policy", "invalid_presence", "invalid_process_identity", "invalid_publication", "invalid_query", "invalid_reason", "invalid_refusal", "invalid_regions", "invalid_remote", "invalid_request", "invalid_request_id", "invalid_retention", "invalid_root", "invalid_sequence", "invalid_session", "invalid_subscription", "invalid_summary", "invalid_symbol", "invalid_symbols", "invalid_tag", "invalid_test_name", "invalid_test_results", "invalid_told", "invalid_ttl", "invalid_turn", "invalid_wait", "invalid_wake", "invalid_window", "invalid_workspace_verification", "lease_expired", "lease_id_reused", "lease_not_active", "lease_not_found", "message_not_kept", "message_secret_shape", "no_current_evidence", "not_checkout_top", "not_holder", "not_queued", "not_sender", "old_root_exists", "old_root_missing", "other_workspace", "own_publication", "owner_grant_off", "policy_fixed", "presence_off", "process_identity_mismatch", "read_timeout", "receipt_unreadable", "recipient_not_found", "remote_messages_full", "remote_messages_off", "remote_messages_quota", "remote_messages_unsupported", "remote_not_enabled", "remote_sharing_on", "report_busy", "report_unavailable", "request_id_conflict", "response_too_large", "root_derived_id", "scope_unknown", "secret_in_command", "secret_in_test_name", "sender_not_in_workspace", "session_conflict", "session_ended", "session_live", "session_not_found", "snapshot_mismatch", "stale_lease", "stale_liveness_observation", "stale_session", "status_part", "storage_error", "storage_operation", "subscriptions_full", "symbol_ambiguous", "symbol_not_found", "too_many_attempts", "too_many_inputs", "too_many_keys", "too_many_paths", "too_many_related_operations", "too_many_verified_overlaps", "turn_lost", "unknown_message", "unknown_notice", "unknown_session", "unknown_wake", "unknown_workspace", "unsupported_version", "wake_not_due", "workspace_busy", "workspace_changed", "workspace_conflict", "workspace_in_use", "workspace_not_found"];
8
+ export declare const ERROR_CODES: readonly ["adoption_chain", "adoption_changed", "already_adopted", "already_published", "already_retracted", "coordination_unavailable", "different_repository", "different_task", "event_too_large", "index_export_failed", "index_import_refused", "index_unavailable", "internal", "invalid_adoption", "invalid_alert", "invalid_away", "invalid_base", "invalid_batch", "invalid_branch_oids", "invalid_branch_ref", "invalid_calls", "invalid_check", "invalid_check_report", "invalid_checkout", "invalid_command", "invalid_conflict_table", "invalid_content_digest", "invalid_coverage", "invalid_cursor", "invalid_deadline", "invalid_digest", "invalid_event", "invalid_failure", "invalid_frame", "invalid_git_oid", "invalid_graph_context", "invalid_hosts", "invalid_id", "invalid_input_digest", "invalid_key", "invalid_landing", "invalid_left", "invalid_limit", "invalid_line_digests", "invalid_lines", "invalid_message", "invalid_move", "invalid_name", "invalid_note", "invalid_notice", "invalid_number", "invalid_overwrites", "invalid_participant", "invalid_path", "invalid_paths", "invalid_payload", "invalid_policy", "invalid_presence", "invalid_process_identity", "invalid_publication", "invalid_query", "invalid_reason", "invalid_refusal", "invalid_regions", "invalid_remote", "invalid_request", "invalid_request_id", "invalid_retention", "invalid_root", "invalid_sequence", "invalid_session", "invalid_subscription", "invalid_summary", "invalid_symbol", "invalid_symbols", "invalid_tag", "invalid_test_name", "invalid_test_results", "invalid_told", "invalid_ttl", "invalid_turn", "invalid_wait", "invalid_wake", "invalid_window", "invalid_workspace_verification", "lease_expired", "lease_id_reused", "lease_not_active", "lease_not_found", "message_not_kept", "message_secret_shape", "no_current_evidence", "not_checkout_top", "not_holder", "not_queued", "not_sender", "old_root_exists", "old_root_missing", "other_workspace", "own_publication", "owner_grant_off", "policy_fixed", "presence_off", "process_identity_mismatch", "read_timeout", "receipt_unreadable", "recipient_not_found", "remote_messages_full", "remote_messages_off", "remote_messages_quota", "remote_messages_unsupported", "remote_not_enabled", "remote_sharing_on", "report_busy", "report_unavailable", "request_id_conflict", "response_too_large", "root_derived_id", "scope_unknown", "secret_in_command", "secret_in_test_name", "sender_not_in_workspace", "session_conflict", "session_ended", "session_live", "session_not_found", "snapshot_mismatch", "stale_lease", "stale_liveness_observation", "stale_session", "status_part", "storage_error", "storage_operation", "subscriptions_full", "symbol_ambiguous", "symbol_not_found", "too_many_attempts", "too_many_inputs", "too_many_keys", "too_many_paths", "too_many_related_operations", "too_many_verified_overlaps", "turn_lost", "unknown_message", "unknown_notice", "unknown_session", "unknown_wake", "unknown_workspace", "unsupported_version", "wake_not_due", "workspace_busy", "workspace_changed", "workspace_conflict", "workspace_in_use", "workspace_not_found"];
9
9
  /** A code of `ERROR_CODES`. */
10
10
  export type ErrorCode = (typeof ERROR_CODES)[number];
11
11
  /**
package/dist/errors.js CHANGED
@@ -15,6 +15,7 @@ export const ERROR_CODES = [
15
15
  "coordination_unavailable",
16
16
  "different_repository",
17
17
  "different_task",
18
+ "event_too_large",
18
19
  "index_export_failed",
19
20
  "index_import_refused",
20
21
  "index_unavailable",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@langspan/client",
3
- "version": "0.38.0",
4
- "description": "A TypeScript client for the LangSpan coordination protocol",
3
+ "version": "0.39.0",
4
+ "description": "Typed TypeScript client for LangSpan, the shipping layer for AI coding agents.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/Langspan/LangSpan.dev/tree/main/clients/typescript",
7
7
  "bugs": "https://github.com/Langspan/LangSpan.dev/issues",
@@ -41,5 +41,13 @@
41
41
  "devDependencies": {
42
42
  "@types/node": "22.19.19",
43
43
  "typescript": "5.9.3"
44
- }
44
+ },
45
+ "keywords": [
46
+ "langspan",
47
+ "coding-agents",
48
+ "agent-coordination",
49
+ "protocol",
50
+ "typescript",
51
+ "mcp"
52
+ ]
45
53
  }