@owlmeans/viable-common 0.0.47 → 0.0.48-rc.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.
Files changed (68) hide show
  1. package/README.md +2 -2
  2. package/agent-meta/manifest.json +2 -2
  3. package/agent-meta/skills/agent-presentation/SKILL.md +1 -1
  4. package/agent-meta/skills/viable-common/SKILL.md +20 -1
  5. package/build/blueprint/catalogue/types.d.ts +34 -0
  6. package/build/blueprint/catalogue/types.d.ts.map +1 -0
  7. package/build/{connect → blueprint/catalogue}/types.js.map +1 -1
  8. package/build/blueprint/index.d.ts +1 -0
  9. package/build/blueprint/index.d.ts.map +1 -1
  10. package/build/blueprint/index.js.map +1 -1
  11. package/build/connect/consts.d.ts +1 -0
  12. package/build/connect/consts.d.ts.map +1 -1
  13. package/build/connect/consts.js +1 -0
  14. package/build/connect/consts.js.map +1 -1
  15. package/build/connect/entrypoints.d.ts +2 -0
  16. package/build/connect/entrypoints.d.ts.map +1 -1
  17. package/build/connect/entrypoints.js +1 -0
  18. package/build/connect/entrypoints.js.map +1 -1
  19. package/build/connect/index.d.ts +1 -0
  20. package/build/connect/index.d.ts.map +1 -1
  21. package/build/connect/index.js.map +1 -1
  22. package/build/connect/references/types.d.ts +2 -0
  23. package/build/connect/references/types.d.ts.map +1 -1
  24. package/build/connect/references.d.ts.map +1 -1
  25. package/build/connect/references.js +1 -0
  26. package/build/connect/references.js.map +1 -1
  27. package/build/convert/consts.d.ts +1 -1
  28. package/build/convert/consts.js +1 -1
  29. package/build/convert/estimate/types.d.ts +20 -0
  30. package/build/convert/estimate/types.d.ts.map +1 -1
  31. package/build/convert/schemas.d.ts.map +1 -1
  32. package/build/convert/schemas.js +17 -1
  33. package/build/convert/schemas.js.map +1 -1
  34. package/build/slot/consts.d.ts +1 -0
  35. package/build/slot/consts.d.ts.map +1 -1
  36. package/build/slot/consts.js +1 -0
  37. package/build/slot/consts.js.map +1 -1
  38. package/package.json +6 -6
  39. package/src/blueprint/catalogue/types.ts +38 -0
  40. package/src/blueprint/index.ts +1 -0
  41. package/src/connect/consts.ts +1 -0
  42. package/src/connect/entrypoints.ts +5 -0
  43. package/src/connect/index.ts +1 -0
  44. package/src/connect/references/types.ts +2 -0
  45. package/src/connect/references.ts +2 -0
  46. package/src/convert/consts.ts +1 -1
  47. package/src/convert/estimate/types.ts +21 -0
  48. package/src/convert/schemas.ts +17 -1
  49. package/src/slot/consts.ts +1 -0
  50. package/build/connect/ops.d.ts +0 -189
  51. package/build/connect/ops.d.ts.map +0 -1
  52. package/build/connect/ops.js +0 -2
  53. package/build/connect/ops.js.map +0 -1
  54. package/build/connect/types.d.ts +0 -453
  55. package/build/connect/types.d.ts.map +0 -1
  56. package/build/intent/flow.d.ts +0 -17
  57. package/build/intent/flow.d.ts.map +0 -1
  58. package/build/intent/flow.js +0 -65
  59. package/build/intent/flow.js.map +0 -1
  60. package/build/planning/flows.d.ts +0 -34
  61. package/build/planning/flows.d.ts.map +0 -1
  62. package/build/planning/flows.js +0 -174
  63. package/build/planning/flows.js.map +0 -1
  64. package/build/skills/roles.d.ts +0 -43
  65. package/build/skills/roles.d.ts.map +0 -1
  66. package/build/skills/roles.js +0 -44
  67. package/build/skills/roles.js.map +0 -1
  68. /package/build/{connect → blueprint/catalogue}/types.js +0 -0
@@ -1,189 +0,0 @@
1
- import type { SlotCommandPayload } from '../slot/index.js';
2
- import type { ConnectInquiryKind, ConnectOpErrorKind, ConnectOpKind, ModelTaskMode, ModelTaskResultKind, ModelTaskRole, ModelTier } from './consts.js';
3
- import type { ConnectServices } from './types.js';
4
- /**
5
- * One thing the platform asks a connector to do.
6
- *
7
- * Operations are addressed to a PROJECT, not to a session: a connector that restarts mid-run
8
- * re-attaches and is handed whatever is still pending, so an MCP server dying does not kill a
9
- * pipeline that is minutes into its work. `sessionId` records which session it was published to,
10
- * for tracing and for the redelivery counter — never for routing a result back.
11
- */
12
- export interface ConnectOp {
13
- id: string;
14
- projectId: string;
15
- sessionId: string;
16
- kind: ConnectOpKind;
17
- payload: SlotCommandPayload | ModelTask | ConfigurePayload | InquiryPayload;
18
- createdAt: string;
19
- /** When the asker stops waiting. A connector past this may skip the work and say so. */
20
- deadlineAt: string;
21
- /** How many times this op has been delivered. > 1 means a connector reconnected. */
22
- attempt: number;
23
- deliveredAt?: string;
24
- }
25
- /**
26
- * The answer to exactly one operation.
27
- *
28
- * `ok: false` with `kind: 'malformed'` is a RETRYABLE outcome — the platform asks again, with the
29
- * problem quoted back. `'unavailable'` says the connector cannot do this at all and the run should
30
- * fail rather than spin.
31
- */
32
- export interface ConnectOpResult {
33
- opId: string;
34
- sessionId: string;
35
- ok: boolean;
36
- value?: unknown;
37
- error?: ConnectOpError;
38
- }
39
- export interface ConnectOpError {
40
- type: string;
41
- message: string;
42
- kind?: ConnectOpErrorKind;
43
- }
44
- /**
45
- * The configuration a local target needs, as file CONTENT rather than as keys.
46
- *
47
- * The platform composes it — it is the only side that knows the OIDC client, its secret and the
48
- * redirect URIs — and the connector writes it into the managed block of each named file, leaving
49
- * every line the user added alone. `probe` names the services the platform wants to know about
50
- * before it asks for a database migration or a boot check.
51
- */
52
- export interface ConfigurePayload {
53
- files: ConfigureFile[];
54
- probe: Array<keyof ConnectServices>;
55
- }
56
- export interface ConfigureFile {
57
- /** Target-root-relative, e.g. `.env` or `sources/web/.env`. */
58
- path: string;
59
- /** The managed block's content. Written between the connector's own markers. */
60
- content: string;
61
- }
62
- export interface ConfigureResult {
63
- written: string[];
64
- /**
65
- * Keys the target still needs and the user must supply — a local database URL, say.
66
- *
67
- * Read exactly like the publisher's configure acknowledgement: a key with an EMPTY value counts
68
- * as missing, because a push that ran before a secret existed leaves one behind.
69
- */
70
- missing: string[];
71
- services: ConnectServices;
72
- }
73
- /**
74
- * One model call, handed to the parent agent.
75
- *
76
- * It carries everything a fresh subagent needs and nothing it does not: the persona as a system
77
- * prompt, the conversation so far, and the shape the answer must take. There is no platform
78
- * vocabulary in it — no pipeline, no step, no internal role semantics beyond a name and a tier —
79
- * because it is read by a model the platform does not own.
80
- */
81
- export interface ModelTask {
82
- id: string;
83
- projectId: string;
84
- /** The platform role that asked. Informational; the tier is what decides the model. */
85
- role: string;
86
- tier: ModelTier;
87
- /** Which attempt this is. > 0 means a previous answer was refused; `feedback` says why. */
88
- attempt: number;
89
- mode: ModelTaskMode;
90
- system?: string;
91
- messages: ModelTaskMessage[];
92
- /** `Tools` mode: what the subagent may call. JSON Schema per tool. */
93
- tools?: ModelTaskTool[];
94
- /** `Tools` mode: force one tool, or leave the choice open. */
95
- toolChoice?: ModelTaskToolChoice;
96
- /** `Json` mode: the schema the single returned object must satisfy. */
97
- outputSchema?: Record<string, unknown>;
98
- /** A soft cap, stated so a parent can size its own call. */
99
- maxOutputChars?: number;
100
- /** Present on a retry: what was wrong with the previous answer. */
101
- feedback?: string;
102
- expiresAt: string;
103
- }
104
- export interface ModelTaskMessage {
105
- role: ModelTaskRole;
106
- content: string;
107
- /** Assistant messages that called tools. */
108
- toolCalls?: ModelTaskToolCall[];
109
- /** Tool messages answer one call. */
110
- toolCallId?: string;
111
- /** Tool messages name the tool they answer. */
112
- name?: string;
113
- }
114
- export interface ModelTaskTool {
115
- name: string;
116
- description?: string;
117
- /** JSON Schema for the tool's arguments. */
118
- parameters: Record<string, unknown>;
119
- }
120
- export type ModelTaskToolChoice = 'auto' | 'none' | {
121
- name: string;
122
- };
123
- export interface ModelTaskToolCall {
124
- id?: string;
125
- name: string;
126
- args: Record<string, unknown>;
127
- }
128
- /** What the parent's subagent produced. */
129
- export interface ModelTaskResult {
130
- taskId: string;
131
- kind: ModelTaskResultKind;
132
- text?: string;
133
- json?: unknown;
134
- toolCalls?: ModelTaskToolCall[];
135
- /** Why the parent could not answer. Treated as a malformed answer and retried. */
136
- error?: string;
137
- /** What the parent spent. Recorded for the trace; it costs the platform nothing. */
138
- usage?: ModelTaskUsage;
139
- /** What the parent actually ran. Display only. */
140
- model?: string;
141
- }
142
- export interface ModelTaskUsage {
143
- inputTokens?: number;
144
- outputTokens?: number;
145
- }
146
- /** One option a {@link ConnectInquiryKind.Choice} question offers. */
147
- export interface ConnectInquiryOption {
148
- value: string;
149
- label: string;
150
- description?: string;
151
- }
152
- /**
153
- * One question put to the person the connector is working for.
154
- *
155
- * It carries where it came from — the run and the step — because an answer is recorded
156
- * against the run that asked and re-read when that run resumes. `expiresAt` is what makes an
157
- * unanswered question fail its step instead of parking a project lock forever.
158
- */
159
- export interface InquiryPayload {
160
- id: string;
161
- projectId: string;
162
- runId?: string;
163
- /** The pipeline step that asked, so a resumed run can match the answer to the place it belongs. */
164
- step?: string;
165
- kind: ConnectInquiryKind;
166
- question: string;
167
- /** What the asker already knows, so the person is not asked to go and find it out. */
168
- context?: string;
169
- options?: ConnectInquiryOption[];
170
- multiple?: boolean;
171
- /** Whether a choice question also accepts text the options do not cover. */
172
- allowText?: boolean;
173
- /** What the asker will assume if nobody answers. Recorded as an assumption when it is used. */
174
- default?: string | string[];
175
- expiresAt: string;
176
- }
177
- /**
178
- * The answer to one question.
179
- *
180
- * `declined` is a real answer and not an absence: it says a person saw the question and chose not
181
- * to decide, which the asker records as an assumption rather than waiting out the timeout.
182
- */
183
- export interface InquiryAnswerPayload {
184
- inquiryId: string;
185
- value?: string | string[];
186
- text?: string;
187
- declined?: boolean;
188
- }
189
- //# sourceMappingURL=ops.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ops.d.ts","sourceRoot":"","sources":["../../src/connect/ops.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,KAAK,EACV,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAE,aAAa,EAAE,mBAAmB,EACzF,aAAa,EAAE,SAAS,EACzB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,EA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AE,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ops.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ops.js","sourceRoot":"","sources":["../../src/connect/ops.ts"],"names":[],"mappings":""}
@@ -1,453 +0,0 @@
1
- import type { ArchitectureCase, ConversionDecision, ConversionEstimate, ConversionStackRef, ConversionStage, ConversionStatus, ConvertibilityReason, ConvertibilityVerdict, OriginKind, OriginShape, OriginState, StoryEstimateBand } from '../convert/index.js';
2
- import type { ConnectExecutor, ConnectHarness, ConnectLlm, ConnectSessionStatus, ConnectTarget, ConnectTransport, ConnectWaitReason, ModelTier } from './consts.js';
3
- import type { InquiryAnswerPayload, InquiryPayload } from './ops.js';
4
- /**
5
- * What a parent agent can do, as it reports itself.
6
- *
7
- * `tiers` is what decides whether the local-LLM mode is usable at all: a parent that names no
8
- * model for a tier still gets tasks, clamped to the nearest tier it does offer.
9
- */
10
- export interface ConnectCapabilities {
11
- harness: ConnectHarness;
12
- /** Tier → the parent's own name for the model it will run that tier on. Display only. */
13
- tiers: Partial<Record<ModelTier, string>>;
14
- /** Whether the parent can run a task in an isolated subagent rather than its own conversation. */
15
- subagents: boolean;
16
- /** Whether the parent can ask for low reasoning effort explicitly. */
17
- effortControl: boolean;
18
- /** Which operation kinds this connector will execute. */
19
- executors: ConnectExecutor[];
20
- /** What the local machine has, learned from the configure op. Absent until one has run. */
21
- services?: ConnectServices;
22
- }
23
- /** What a local machine actually provides. Reported by the connector, never assumed. */
24
- export interface ConnectServices {
25
- db: boolean;
26
- valkey: boolean;
27
- }
28
- export interface ConnectSession {
29
- id?: string;
30
- profileId: string;
31
- entityId: string;
32
- projectId?: string;
33
- /** The absolute directory the target lives in, for a local target. Identity for supersede. */
34
- projectDir?: string;
35
- target: ConnectTarget;
36
- llm: ConnectLlm;
37
- harness: ConnectHarness;
38
- clientVersion: string;
39
- capabilities: ConnectCapabilities;
40
- status: ConnectSessionStatus;
41
- /** How the connector is receiving operations right now. */
42
- transport?: ConnectTransport;
43
- openedAt: Date;
44
- lastSeenAt: Date;
45
- closedAt?: Date;
46
- createdAt: Date;
47
- updatedAt?: Date;
48
- }
49
- /** What a connector asks for when it attaches. */
50
- export interface ConnectSessionOpen {
51
- projectId?: string;
52
- projectDir?: string;
53
- target: ConnectTarget;
54
- harness: ConnectHarness;
55
- clientVersion: string;
56
- capabilities: ConnectCapabilities;
57
- }
58
- export interface ConnectSessionParams {
59
- sessionId: string;
60
- }
61
- export interface ConnectSessionView {
62
- id: string;
63
- target: ConnectTarget;
64
- llm: ConnectLlm;
65
- projectId?: string;
66
- status: ConnectSessionStatus;
67
- /** Operations waiting for this session right now. */
68
- pending: number;
69
- expiresAt: string;
70
- }
71
- export interface ConnectPullQuery {
72
- /** Seconds to wait before answering; clamped to the pull ceiling. */
73
- wait?: number;
74
- }
75
- export interface ConnectRunStatus {
76
- runId: string;
77
- pipeline: string;
78
- status: string;
79
- step?: string;
80
- completed: string[];
81
- pending: string[];
82
- warnings?: string[];
83
- error?: string;
84
- startedAt?: string;
85
- updatedAt?: string;
86
- }
87
- /** What a connector needs to know about a project in one call. */
88
- export interface ConnectProjectStatus {
89
- /**
90
- * The project card, flattened into the names a parent agent already reads.
91
- *
92
- * `name` is the card's `title` and `alias` its `code`; the three brief parts are the bodies of
93
- * the project's `specification`, `vision` and `design-system` specifications. `status` and
94
- * `intrinsic` are the card's own — a key of the project flow and the intrinsic state it maps to —
95
- * typed as plain strings because this view crosses a version skew and a newer platform may
96
- * answer with a status an older connector has never heard of.
97
- */
98
- project: {
99
- id: string;
100
- name: string;
101
- alias: string;
102
- description?: string;
103
- status: string;
104
- intrinsic: string;
105
- specification?: string;
106
- vision?: string;
107
- designSystem?: string;
108
- };
109
- slot?: {
110
- id: string;
111
- kind: string;
112
- status: string;
113
- slug: string;
114
- host?: string;
115
- initialized?: boolean;
116
- lastError?: string;
117
- buildWarning?: string;
118
- backendWarning?: string;
119
- };
120
- production?: {
121
- id: string;
122
- status: string;
123
- host?: string;
124
- };
125
- agent: {
126
- locked: boolean;
127
- task?: string;
128
- lockedAt?: string;
129
- };
130
- run?: ConnectRunStatus;
131
- waitingFor?: ConnectWaitReason;
132
- pendingInquiry?: InquiryPayload;
133
- session?: ConnectSessionView;
134
- /** Set for a local target: the connector should not offer cloud-only operations. */
135
- local: boolean;
136
- updatedAt: string;
137
- }
138
- /** A story card composed with its deterministic development run. */
139
- export interface ConnectStoryStatus {
140
- projectId: string;
141
- story: {
142
- id: string;
143
- code: string;
144
- title: string;
145
- status: string;
146
- intrinsic: string;
147
- warning?: string;
148
- };
149
- run?: ConnectRunStatus;
150
- waitingFor?: ConnectWaitReason;
151
- pendingInquiry?: InquiryPayload;
152
- updatedAt: string;
153
- }
154
- /** The record a local project keeps so a later session knows what it is. */
155
- export interface ConnectMarker {
156
- version: 1;
157
- apiUrl: string;
158
- projectId: string;
159
- slug: string;
160
- entitySlug?: string;
161
- createdAt: string;
162
- }
163
- /** The per-profile connector preference. */
164
- export interface ConnectProfileSettings {
165
- llmMode: ConnectLlm;
166
- }
167
- export interface ConnectProfileSettingsView extends ConnectProfileSettings {
168
- /** Whether the organization's plan allows the local-LLM mode at all. */
169
- canUseLocal: boolean;
170
- /**
171
- * The profile's preference for who performs a CONVERSION's model calls.
172
- *
173
- * Its own setting rather than a reading of `llmMode`, because the two answer for different
174
- * work: a conversion reads somebody else's whole repository, which is the one case where handing
175
- * the inference to the parent agent is the cheap default rather than the experimental option.
176
- *
177
- * OPTIONAL: the two converter fields are answered by a platform build that does not exist yet,
178
- * and this package is consumed by the platform through a workspace link rather than a published
179
- * range — a required field here is a compile error in every handler that already returns this
180
- * view. Tightened to required once the platform's conversion handlers fill them.
181
- */
182
- converterLlmMode?: ConnectLlm;
183
- /** Whether this caller may run a conversion's model calls on the parent agent. */
184
- canUseConverterLocal?: boolean;
185
- }
186
- export interface ConnectLlmBody {
187
- llmMode: ConnectLlm;
188
- }
189
- /** The per-project override, and what it resolves to. */
190
- export interface ConnectProjectSettings {
191
- /** `null` means "inherit the profile setting". */
192
- llmMode: ConnectLlm | null;
193
- effective: ConnectLlm;
194
- canUseLocal: boolean;
195
- /**
196
- * The project's converter override; `null` inherits the profile's.
197
- *
198
- * Optional on the same forward-compatibility grounds as
199
- * {@link ConnectProfileSettingsView.converterLlmMode} — absent from an answer written before the
200
- * platform's conversion handlers land, and never to be read as a value.
201
- */
202
- converterLlmMode?: ConnectLlm | null;
203
- /** What the override, the profile and the platform's own floor actually resolve to. */
204
- converterEffective?: ConnectLlm;
205
- }
206
- export interface ConnectProjectLlmBody {
207
- llmMode: ConnectLlm | null;
208
- }
209
- /**
210
- * A project's branding as a connector reads it — what the generated application says about who
211
- * made it, and the Google tag it loads.
212
- *
213
- * Every field is a string, `''` when unset, in the platform's own branding vocabulary. The
214
- * platform credit is absent on purpose: hiding it is a paid capability behind its own gated route,
215
- * and neither reading nor saving this record may reach it.
216
- */
217
- export interface ConnectProjectBranding {
218
- /** The copyright line in the application's footer. Never empty once saved. */
219
- copyright: string;
220
- /** The organization's display name. Never empty once saved. */
221
- organizationName: string;
222
- /** `''`, an `https://` URL, or a same-origin path such as `/terms` (the generated page). */
223
- termsUrl: string;
224
- /** `''`, an `https://` URL, or a same-origin path such as `/privacy` (the generated page). */
225
- privacyUrl: string;
226
- /** `''`, or a Google tag id: `GTM-…`, `G-…`, `GT-…`, `AW-…`, `DC-…`. */
227
- googleTag: string;
228
- }
229
- /**
230
- * A PATCH of a project's branding: every field optional, and an absent field keeps its current
231
- * value. The platform merges it over what is stored, validates the result as a whole with the
232
- * rules the web form uses, and answers the merged record.
233
- */
234
- export interface ConnectProjectBrandingSave extends Partial<ConnectProjectBranding> {
235
- }
236
- /** Attach an existing project to a session. */
237
- export interface ConnectAttachBody {
238
- projectId?: string;
239
- slug?: string;
240
- projectDir?: string;
241
- }
242
- /** Create a project through the connector; `target` decides where its tree will live. */
243
- export interface ConnectCreateBody {
244
- prompt: string;
245
- target?: ConnectTarget;
246
- }
247
- /**
248
- * Confirm a drafted project, optionally editing what the analysis produced.
249
- *
250
- * The keys are a parent agent's vocabulary and stay as they are: `name` becomes the card's
251
- * `title`, and each brief part present is written into the project's specification of that
252
- * category before the confirm transition runs.
253
- */
254
- export interface ConnectConfirmBody {
255
- name?: string;
256
- description?: string;
257
- specification?: string;
258
- vision?: string;
259
- designSystem?: string;
260
- target?: ConnectTarget;
261
- }
262
- export interface ConnectModifyBody {
263
- prompt: string;
264
- }
265
- export interface ConnectPipelineParams {
266
- id: string;
267
- runId: string;
268
- }
269
- export interface ConnectPipelineResumeBody {
270
- from?: string;
271
- force?: boolean;
272
- /**
273
- * Answers to the questions a parked run is waiting on, keyed by inquiry id.
274
- *
275
- * A run stops at `Waiting` because a step asked something; resuming it without what it asked for
276
- * makes it ask again. The runner MERGES these into whatever the run already carries rather than
277
- * replacing them, so a resume that answers one of two outstanding questions keeps the other.
278
- */
279
- answers?: Record<string, InquiryAnswerPayload>;
280
- }
281
- /** Start a conversion of an existing project's code. */
282
- export interface ConnectConvertCreateBody {
283
- name?: string;
284
- about?: string;
285
- /** Where the converted target's tree will live. */
286
- target?: ConnectTarget;
287
- /**
288
- * Where the code comes from.
289
- *
290
- * Absent for a LOCAL target the connector is already attached to: the tree is the directory the
291
- * session opened on, and there is nothing to fetch.
292
- */
293
- origin?: {
294
- kind: OriginKind;
295
- repoUrl?: string;
296
- branch?: string;
297
- };
298
- }
299
- /**
300
- * Start the conversion of a project already filed.
301
- *
302
- * `confirm` says a PERSON agreed to what the start uses: without it, a start that would spend the
303
- * organization's `conversions` unit is refused with `ConnectConfirmationRequired` and nothing runs.
304
- * A delegated conversion spends nothing and is never asked.
305
- */
306
- export interface ConnectConvertStartBody {
307
- confirm?: boolean;
308
- }
309
- /** Decide what happens at a stage boundary. */
310
- export interface ConnectConvertProceedBody {
311
- decision: ConversionDecision;
312
- /** Free text the user added to the decision; recorded, never parsed. */
313
- note?: string;
314
- /**
315
- * A person agreed to what the stage costs. Without it, a stage that would spend credit limits or
316
- * topped-up credits (its estimate past what is left of the conversion limit) is refused with
317
- * `ConnectConfirmationRequired` — its estimate split packed — and nothing runs.
318
- */
319
- confirm?: boolean;
320
- }
321
- /** Answer one question a parked run is waiting on. */
322
- export type ConnectInquiryAnswerBody = InquiryAnswerPayload;
323
- /**
324
- * Whether this origin can be converted, and what it will cost.
325
- *
326
- * Answered BEFORE anything is provisioned or charged, from the census alone — which is why it
327
- * carries the counts it was decided from rather than a bare verdict.
328
- */
329
- export interface ConvertCheck {
330
- projectId: string;
331
- verdict: ConvertibilityVerdict;
332
- reasons: ConvertibilityReason[];
333
- stack?: ConversionStackRef;
334
- architecture?: ArchitectureCase;
335
- shape: OriginShape;
336
- monorepo: boolean;
337
- /** Workspace members and directories nothing declares. Named, because each one is a decision. */
338
- unlinked: string[];
339
- files: number;
340
- bytes: number;
341
- /** Bulk data files found — sampled and described, never carried. */
342
- bulk: number;
343
- estimate?: ConversionEstimate;
344
- }
345
- /** Everything a caller needs to draw the conversion's current state in one call. */
346
- export interface ConversionStatusView {
347
- projectId: string;
348
- stage: ConversionStage;
349
- status: ConversionStatus;
350
- /** The last decision the user made. */
351
- decision?: ConversionDecision;
352
- verdict?: ConvertibilityVerdict;
353
- stack?: ConversionStackRef;
354
- /** What the conversion is rebuilding the project ONTO. Always the Viable stack today. */
355
- targetStack?: ConversionStackRef;
356
- architecture?: ArchitectureCase;
357
- /** One per stage that has been estimated, newest last. */
358
- estimates: ConversionEstimate[];
359
- storyEstimate?: StoryEstimateBand;
360
- originState: OriginState;
361
- /** How many questions the conversion answered for itself. Each one is readable in the docs. */
362
- assumptions: number;
363
- runId?: string;
364
- /** Set exactly when `status` is `Waiting`: the question the run stopped on. */
365
- pendingInquiry?: InquiryPayload;
366
- waitingFor?: ConnectWaitReason;
367
- lastError?: string;
368
- updatedAt: string;
369
- }
370
- /** The acknowledgement returned when a connector submits an operation result. */
371
- export interface ConnectOpSubmission {
372
- ok: boolean;
373
- /** The operation was already resolved; retrying a lost HTTP response is safe. */
374
- ignored?: boolean;
375
- }
376
- /** The deliberate small projection returned by the connector project list. */
377
- export interface ConnectProjectSummary {
378
- id: string;
379
- name: string;
380
- alias: string;
381
- }
382
- /** The persistent state of one pipeline run, read by a connector without platform internals. */
383
- export interface ConnectPipelineState {
384
- runId: string;
385
- pipeline: string;
386
- version: number;
387
- status: string;
388
- step?: string;
389
- completed: string[];
390
- pending: string[];
391
- warnings: string[];
392
- failedAt?: string;
393
- error?: string;
394
- note?: string;
395
- waitingFor?: ConnectWaitReason;
396
- pendingInquiry?: InquiryPayload;
397
- attempts: number;
398
- startedAt: string;
399
- heartbeatAt: string;
400
- updatedAt: string;
401
- }
402
- /** One status of a planning kit's flow. `intrinsic` is the planning intrinsic it maps to. */
403
- export interface PlanningKitStatusView {
404
- key: string;
405
- label: string;
406
- intrinsic: string;
407
- }
408
- /** One status flow a planning kit declares. */
409
- export interface PlanningKitFlowView {
410
- key: string;
411
- label: string;
412
- statuses: PlanningKitStatusView[];
413
- }
414
- /** One card type a planning kit declares; `flow` is the key of its main flow. */
415
- export interface PlanningKitTypeView {
416
- key: string;
417
- label: string;
418
- flow: string;
419
- }
420
- /**
421
- * A planning kit as a connector sees it: a ready set of card types and status flows for one kind
422
- * of work-management product, written into the target's common package on `apply`.
423
- */
424
- export interface PlanningKitView {
425
- id: string;
426
- /** The work kind the kit serves — a bare string, so a newer kind never fails an older reader. */
427
- kind: string;
428
- title: string;
429
- purpose: string;
430
- /** The project-level container type the kit's cards live in. */
431
- container: {
432
- key: string;
433
- label: string;
434
- };
435
- types: PlanningKitTypeView[];
436
- flows: PlanningKitFlowView[];
437
- }
438
- /** What `project.kit.describe` answers. */
439
- export interface ConnectKitDescribe {
440
- kits: PlanningKitView[];
441
- }
442
- /** Apply one kit; `types` keeps only these card-type keys of it (every type when omitted). */
443
- export interface ConnectKitApplyBody {
444
- kit: string;
445
- types?: string[];
446
- }
447
- /** What `project.kit.apply` answers: the type keys written, those left out, and warnings. */
448
- export interface ConnectKitApplyResult {
449
- applied: string[];
450
- skipped: string[];
451
- warnings: string[];
452
- }
453
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/connect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAC7F,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,UAAU,EAAE,WAAW,EACtF,WAAW,EAAE,iBAAiB,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,oBAAoB,EAAE,aAAa,EAChF,gBAAgB,EAAE,iBAAiB,EAAE,SAAS,EAC/C,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,CAAA;IACvB,yFAAyF;IACzF,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAA;IACzC,kGAAkG;IAClG,SAAS,EAAE,OAAO,CAAA;IAClB,sEAAsE;IACtE,aAAa,EAAE,OAAO,CAAA;IACtB,yDAAyD;IACzD,SAAS,EAAE,eAAe,EAAE,CAAA;IAC5B,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B;AAED,wFAAwF;AACxF,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,OAAO,CAAA;IACX,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB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