@langspan/client 0.26.0 → 0.28.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/dist/commands/admission.d.ts +2 -0
- package/dist/commands/admission.js +1 -1
- package/dist/commands/checks.js +1 -1
- package/dist/commands/graph.js +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/commands/notes.js +1 -1
- package/dist/commands/policy.d.ts +1 -1
- package/dist/commands/policy.js +1 -1
- package/dist/commands/reads.d.ts +4 -4
- package/dist/commands/reads.js +1 -1
- package/dist/commands/remote.js +1 -1
- package/dist/commands/scans.js +1 -1
- package/dist/commands/sessions.d.ts +1 -1
- package/dist/commands/sessions.js +1 -1
- package/dist/commands/turns.js +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/protocol.js +1 -0
- package/package.json +1 -1
|
@@ -57,6 +57,8 @@ export interface AdmitToolCommand {
|
|
|
57
57
|
overwrites?: WrittenLines[];
|
|
58
58
|
/** Per-key bases and kinds of change; capability `versioned_keys`. */
|
|
59
59
|
keys?: KeyedWrite[];
|
|
60
|
+
/** The names the written text calls; capability `interface_calls`. */
|
|
61
|
+
called?: string[];
|
|
60
62
|
}
|
|
61
63
|
export interface ObserveSourceCommand {
|
|
62
64
|
op: "observe_source";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Commands: intents, admissions and source versions; completions and
|
|
2
|
-
// observed operations, files, branches and Git state (`
|
|
2
|
+
// observed operations, files, branches and Git state (`Command` in
|
|
3
3
|
// `crates/langspan-core/src/command.rs`, in its order).
|
|
4
4
|
export {};
|
package/dist/commands/checks.js
CHANGED
package/dist/commands/graph.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Commands: the source graph; write checks, interface alerts and outlines
|
|
2
|
-
// (`
|
|
2
|
+
// (`Command` in `crates/langspan-core/src/command.rs`, in its order).
|
|
3
3
|
// The daemon answers these from its source index.
|
|
4
4
|
export {};
|
package/dist/commands/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Every command a coordinator answers with one answer, as `
|
|
1
|
+
// Every command a coordinator answers with one answer, as `Command` in
|
|
2
2
|
// `crates/langspan-core/src/command.rs` decodes it. test/rust-source.test.ts
|
|
3
3
|
// checks each one, field by field, against that enum.
|
|
4
4
|
/** Every `op` of wire version 10, sorted. */
|
package/dist/commands/notes.js
CHANGED
package/dist/commands/policy.js
CHANGED
package/dist/commands/reads.d.ts
CHANGED
|
@@ -70,8 +70,8 @@ export interface CountCommand {
|
|
|
70
70
|
/** Read-only: the token counts recorded per session and model; capability `usage`. */
|
|
71
71
|
export interface UsageCommand {
|
|
72
72
|
op: "usage";
|
|
73
|
-
workspace_id?: string
|
|
74
|
-
from_ms?: number
|
|
73
|
+
workspace_id?: string;
|
|
74
|
+
from_ms?: number;
|
|
75
75
|
}
|
|
76
76
|
/** Read-only: the person's status line for the directory `root`. */
|
|
77
77
|
export interface StatusLineCommand {
|
|
@@ -84,8 +84,8 @@ export interface StatusCommand {
|
|
|
84
84
|
}
|
|
85
85
|
export interface StatusRecordsCommand {
|
|
86
86
|
op: "status_records";
|
|
87
|
-
after?: string
|
|
88
|
-
page_bytes?: number
|
|
87
|
+
after?: string;
|
|
88
|
+
page_bytes?: number;
|
|
89
89
|
}
|
|
90
90
|
export interface DashboardCommand {
|
|
91
91
|
op: "dashboard";
|
package/dist/commands/reads.js
CHANGED
package/dist/commands/remote.js
CHANGED
package/dist/commands/scans.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Commands: scans, checkouts, uncoordinated changes and hosts
|
|
2
|
-
// (`
|
|
2
|
+
// (`Command` in `crates/langspan-core/src/command.rs`, in its order).
|
|
3
3
|
// Most are sent by the daemon's own scan and hooks.
|
|
4
4
|
export {};
|
|
@@ -8,7 +8,7 @@ export interface WorkspaceRegisterCommand {
|
|
|
8
8
|
/** Read-only: one page of the registered workspaces, after the ID `after`. */
|
|
9
9
|
export interface WorkspaceListCommand {
|
|
10
10
|
op: "workspace_list";
|
|
11
|
-
after?: string
|
|
11
|
+
after?: string;
|
|
12
12
|
}
|
|
13
13
|
/** Rebind the workspace to `root`. An owner command. */
|
|
14
14
|
export interface WorkspaceMoveCommand {
|
package/dist/commands/turns.js
CHANGED
package/dist/protocol.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const MAX_FRAME_BYTES = 65536;
|
|
|
14
14
|
* knows. Pinned to `src/protocol.rs` and `fixtures/capabilities/answer.json`
|
|
15
15
|
* by the tests.
|
|
16
16
|
*/
|
|
17
|
-
export declare const CAPABILITIES: readonly ["anchored_notes", "briefing_memory", "briefing_outcomes", "build_errors", "chained_events", "collision_resolve", "collisions", "composition_table", "confirmed_briefings", "git_trouble", "inflight_partial", "intent_contracts", "intent_frames", "intent_overlaps", "interface_held", "interface_notices", "landing_held", "landing_rewrites", "message_paths", "notice_recipients", "opaque_events", "outline_reads", "place_told", "push_messages", "recap_since", "refusal_outcomes", "refused_roots", "remote_messages", "rename_held", "rename_holds", "renames", "reservations", "same_task", "sender_source", "session_limits", "standing_decisions", "subscriptions", "symbol_findings", "tolerant_responses", "trails", "unreadable_waits", "usage", "versioned_keys", "wake", "withheld_events", "worked_examples"];
|
|
17
|
+
export declare const CAPABILITIES: readonly ["anchored_notes", "briefing_memory", "briefing_outcomes", "build_errors", "chained_events", "collision_resolve", "collisions", "composition_table", "confirmed_briefings", "git_trouble", "inflight_partial", "intent_contracts", "intent_frames", "intent_overlaps", "interface_calls", "interface_held", "interface_notices", "landing_held", "landing_rewrites", "message_paths", "notice_recipients", "opaque_events", "outline_reads", "place_told", "push_messages", "recap_since", "refusal_outcomes", "refused_roots", "remote_messages", "rename_held", "rename_holds", "renames", "reservations", "same_task", "sender_source", "session_limits", "standing_decisions", "subscriptions", "symbol_findings", "tolerant_responses", "trails", "unreadable_waits", "usage", "versioned_keys", "wake", "withheld_events", "worked_examples"];
|
|
18
18
|
/**
|
|
19
19
|
* What the coordinator serves and this client does not speak yet (ADR 0043,
|
|
20
20
|
* "Transport"). The client names the `subscriptions` capability, which
|
package/dist/protocol.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langspan/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "A TypeScript client for the LangSpan coordination protocol",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/Langspan/LangSpan.dev/tree/main/clients/typescript",
|