@miadi/tide-contract 0.2.0 → 0.2.1
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/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/schema/tide-api.schema.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type Multiplexer = "tmux" | "herdr";
|
|
|
16
16
|
export type TideAgentStatus = "idle" | "working" | "blocked" | "done" | "unknown";
|
|
17
17
|
export interface TerminalContext {
|
|
18
18
|
multiplexer?: Multiplexer;
|
|
19
|
-
/** Pane id in the owning multiplexer: tmux (e.g. "%56") or herdr (e.g. "1-2"). Field name is historical. */
|
|
19
|
+
/** Pane id in the owning multiplexer: tmux (e.g. "%56") or herdr (e.g. "w1:p2" as of herdr 0.7; legacy "1-2" accepted). Field name is historical. */
|
|
20
20
|
tmux_pane: string;
|
|
21
21
|
pid: number;
|
|
22
22
|
cwd: string;
|
|
@@ -65,9 +65,9 @@ export interface TideTerminalTarget {
|
|
|
65
65
|
session_name: string;
|
|
66
66
|
window_id: string;
|
|
67
67
|
window_name: string;
|
|
68
|
-
/** Pane id in the owning multiplexer: tmux (e.g. "%56") or herdr (e.g. "1-2"). */
|
|
68
|
+
/** Pane id in the owning multiplexer: tmux (e.g. "%56") or herdr (e.g. "w1:p2" as of herdr 0.7; legacy "1-2" accepted). */
|
|
69
69
|
pane_id: string;
|
|
70
|
-
/** Durable pane label (herdr); resolve label→id at action time — herdr ids
|
|
70
|
+
/** Durable pane label (herdr, set via `pane rename`); resolve label→id at action time — herdr ids are session-scoped and a stale id fails loudly with pane_not_found. */
|
|
71
71
|
pane_label?: string;
|
|
72
72
|
cwd: string;
|
|
73
73
|
pane_active: boolean;
|
|
@@ -127,7 +127,7 @@ export interface TideTmuxSendKeysResult {
|
|
|
127
127
|
*/
|
|
128
128
|
export interface TideHerdrSendKeysResult {
|
|
129
129
|
multiplexer: "herdr";
|
|
130
|
-
/** Resolved herdr pane id (e.g. "1-2").
|
|
130
|
+
/** Resolved herdr pane id (e.g. "w1:p2" as of herdr 0.7; legacy "1-2" accepted). Session-scoped, not durable across herdr restarts. */
|
|
131
131
|
target: string;
|
|
132
132
|
/** Durable pane label this target was resolved from, when label→id resolution ran. */
|
|
133
133
|
pane_label?: string;
|
|
@@ -135,7 +135,7 @@ export interface TideHerdrSendKeysResult {
|
|
|
135
135
|
message: string;
|
|
136
136
|
/** Whether a real Enter key was sent after the literal text. */
|
|
137
137
|
submitted: boolean;
|
|
138
|
-
/** Exact herdr CLI argv used to type the literal text (e.g. ["pane","send-text","
|
|
138
|
+
/** Exact herdr CLI argv used to type the literal text (e.g. ["pane","send-text","w1:p2", …]). */
|
|
139
139
|
literal_command: string[];
|
|
140
140
|
/** Exact herdr CLI argv used to submit Enter, or null when `submitted` is false. */
|
|
141
141
|
submit_command: string[] | null;
|
|
@@ -151,9 +151,9 @@ export interface EpisodeLane {
|
|
|
151
151
|
episode_id: string;
|
|
152
152
|
lane_id: string;
|
|
153
153
|
lane_role: EpisodeLaneRole;
|
|
154
|
-
/** Pane target: tmux pane id (e.g. "%76") or herdr pane id (e.g. "
|
|
154
|
+
/** Pane target: tmux pane id (e.g. "%76") or herdr pane id (e.g. "w1:p2"). */
|
|
155
155
|
pane_target: string | null;
|
|
156
|
-
/** Durable pane label. herdr ids are
|
|
156
|
+
/** Durable pane label. herdr ids are session-scoped (they do not survive a herdr restart), so label→id resolution happens at action time. */
|
|
157
157
|
pane_label?: string | null;
|
|
158
158
|
agent_status?: TideAgentStatus;
|
|
159
159
|
verification_state: EpisodeLaneVerificationState;
|
|
@@ -173,7 +173,7 @@ export interface TideLaneCheckpoint {
|
|
|
173
173
|
episode_id: string;
|
|
174
174
|
lane_id: string;
|
|
175
175
|
pane_target: string | null;
|
|
176
|
-
/** Durable pane label for re-resolving the (
|
|
176
|
+
/** Durable pane label for re-resolving the (session-scoped) herdr pane id at action time. */
|
|
177
177
|
pane_label?: string | null;
|
|
178
178
|
continuation_note: string | null;
|
|
179
179
|
artifact_paths: string[];
|
|
@@ -202,7 +202,7 @@ export interface TidePendingApproval {
|
|
|
202
202
|
episode_id: string;
|
|
203
203
|
lane_id: string | null;
|
|
204
204
|
pane_target: string | null;
|
|
205
|
-
/** Durable pane label for re-resolving the (
|
|
205
|
+
/** Durable pane label for re-resolving the (session-scoped) herdr pane id at action time. */
|
|
206
206
|
pane_label?: string | null;
|
|
207
207
|
agent_status?: TideAgentStatus;
|
|
208
208
|
action_type: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,mDAAmD,CAAA;AAClF,eAAO,MAAM,gBAAgB,SAAS,CAAA;AACtC,eAAO,MAAM,mBAAmB,eAAe,CAAA;AAC/C,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D,eAAO,MAAM,4BAA4B,yBAAyB,CAAA;AAIlE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,CAAA;AAE1C;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAEjF,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,mDAAmD,CAAA;AAClF,eAAO,MAAM,gBAAgB,SAAS,CAAA;AACtC,eAAO,MAAM,mBAAmB,eAAe,CAAA;AAC/C,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D,eAAO,MAAM,4BAA4B,yBAAyB,CAAA;AAIlE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,G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,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,6FAA6F;IAC7F,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,YAAY,CAAC,EAAE,eAAe,CAAA;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
package/package.json
CHANGED
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"episode_id": { "type": "string", "description": "Unique episode identifier." },
|
|
52
52
|
"lane_id": { "type": "string", "description": "Unique lane identifier within the episode (e.g., 'planning', 'delivery')." },
|
|
53
53
|
"lane_role": { "$ref": "#/$defs/episodeLaneRole" },
|
|
54
|
-
"pane_target": { "type": ["string", "null"], "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+)$", "description": "Optional pane target: tmux pane id (e.g., '%76' or '76') or herdr pane id (e.g., '1-2')." },
|
|
55
|
-
"pane_label": { "type": ["string", "null"], "description": "Durable pane label. herdr pane ids are
|
|
54
|
+
"pane_target": { "type": ["string", "null"], "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+|w[0-9]+:p[0-9]+)$", "description": "Optional pane target: tmux pane id (e.g., '%76' or '76') or herdr pane id (e.g., 'w1:p2' as of herdr 0.7; legacy '1-2' accepted)." },
|
|
55
|
+
"pane_label": { "type": ["string", "null"], "description": "Durable pane label. herdr pane ids are session-scoped (they do not survive a herdr restart), so label→id resolution happens at action time." },
|
|
56
56
|
"agent_status": { "$ref": "#/$defs/agentStatus" },
|
|
57
57
|
"verification_state": { "$ref": "#/$defs/episodeLaneVerificationState" },
|
|
58
58
|
"domain_id": { "type": ["string", "null"] },
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"episode_id": { "type": "string" },
|
|
82
82
|
"lane_id": { "type": "string" },
|
|
83
83
|
"pane_target": { "type": ["string", "null"] },
|
|
84
|
-
"pane_label": { "type": ["string", "null"], "description": "Durable pane label for re-resolving the (
|
|
84
|
+
"pane_label": { "type": ["string", "null"], "description": "Durable pane label for re-resolving the (session-scoped) herdr pane id at action time." },
|
|
85
85
|
"continuation_note": { "type": ["string", "null"] },
|
|
86
86
|
"artifact_paths": { "type": "array", "items": { "type": "string" } },
|
|
87
87
|
"safe_to_close": { "type": "boolean" },
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"episode_id": { "type": "string" },
|
|
125
125
|
"lane_id": { "type": ["string", "null"] },
|
|
126
126
|
"pane_target": { "type": ["string", "null"] },
|
|
127
|
-
"pane_label": { "type": ["string", "null"], "description": "Durable pane label for re-resolving the (
|
|
127
|
+
"pane_label": { "type": ["string", "null"], "description": "Durable pane label for re-resolving the (session-scoped) herdr pane id at action time." },
|
|
128
128
|
"agent_status": { "$ref": "#/$defs/agentStatus" },
|
|
129
129
|
"action_type": { "type": "string", "description": "e.g., 'steer', 'send', 'close', 'commit'." },
|
|
130
130
|
"proposal_text": { "type": ["string", "null"] },
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
],
|
|
148
148
|
"properties": {
|
|
149
149
|
"multiplexer": { "$ref": "#/$defs/multiplexer" },
|
|
150
|
-
"tmux_pane": { "type": "string", "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+)$", "description": "Pane id in the owning multiplexer: tmux (e.g., '%56') or herdr (e.g., '1-2'). Field name is historical." },
|
|
150
|
+
"tmux_pane": { "type": "string", "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+|w[0-9]+:p[0-9]+)$", "description": "Pane id in the owning multiplexer: tmux (e.g., '%56') or herdr (e.g., 'w1:p2' as of herdr 0.7; legacy '1-2' accepted). Field name is historical." },
|
|
151
151
|
"pid": { "type": "integer" },
|
|
152
152
|
"cwd": { "type": "string" },
|
|
153
153
|
"domain_id": { "type": ["string", "null"] },
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
"session_name": { "type": "string" },
|
|
259
259
|
"window_id": { "type": "string" },
|
|
260
260
|
"window_name": { "type": "string" },
|
|
261
|
-
"pane_id": { "type": "string", "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+)$", "description": "Pane id in the owning multiplexer: tmux (e.g., '%56') or herdr (e.g., '1-2')." },
|
|
262
|
-
"pane_label": { "type": "string", "description": "Durable pane label (herdr); resolve label→id at action time — herdr ids
|
|
261
|
+
"pane_id": { "type": "string", "pattern": "^(%?[0-9]+|[0-9]+-[0-9]+|w[0-9]+:p[0-9]+)$", "description": "Pane id in the owning multiplexer: tmux (e.g., '%56') or herdr (e.g., 'w1:p2' as of herdr 0.7; legacy '1-2' accepted)." },
|
|
262
|
+
"pane_label": { "type": "string", "description": "Durable pane label (herdr, set via `pane rename`); resolve label→id at action time — herdr ids are session-scoped and a stale id fails loudly with pane_not_found." },
|
|
263
263
|
"cwd": { "type": "string" },
|
|
264
264
|
"pane_active": { "type": "boolean" },
|
|
265
265
|
"session_attached": { "type": "integer", "minimum": 0 },
|
|
@@ -319,12 +319,12 @@
|
|
|
319
319
|
"description": "Result/plan of a direct send-keys steer against a herdr pane. The argv fields carry herdr CLI arguments instead of tmux argv.",
|
|
320
320
|
"properties": {
|
|
321
321
|
"multiplexer": { "const": "herdr" },
|
|
322
|
-
"target": { "type": "string", "pattern": "^[0-9]+-[0-9]
|
|
322
|
+
"target": { "type": "string", "pattern": "^([0-9]+-[0-9]+|w[0-9]+:p[0-9]+)$", "description": "Resolved herdr pane id (e.g., 'w1:p2' as of herdr 0.7; legacy '1-2' accepted). Session-scoped, not durable across herdr restarts." },
|
|
323
323
|
"pane_label": { "type": "string", "description": "Durable pane label this target was resolved from, when label→id resolution ran." },
|
|
324
324
|
"message": { "type": "string", "description": "The literal text typed into the pane." },
|
|
325
325
|
"submitted": { "type": "boolean", "description": "Whether a real Enter key was sent after the literal text." },
|
|
326
|
-
"literal_command": { "type": "array", "items": { "type": "string" }, "description": "Exact herdr CLI argv used to type the literal text (e.g., ['pane','send-text','
|
|
327
|
-
"submit_command": { "type": ["array", "null"], "items": { "type": "string" }, "description": "Exact herdr CLI argv used to submit Enter (['pane','send-keys','
|
|
326
|
+
"literal_command": { "type": "array", "items": { "type": "string" }, "description": "Exact herdr CLI argv used to type the literal text (e.g., ['pane','send-text','w1:p2', …])." },
|
|
327
|
+
"submit_command": { "type": ["array", "null"], "items": { "type": "string" }, "description": "Exact herdr CLI argv used to submit Enter (['pane','send-keys','w1:p2','Enter']), or null when 'submitted' is false." },
|
|
328
328
|
"sent_at": { "type": "string", "description": "ISO timestamp the keys were sent (omitted on a dry-run plan)." }
|
|
329
329
|
}
|
|
330
330
|
},
|