@parall/sdk 1.45.0 → 1.47.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.
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAGlC,eAAO,MAAM,SAAS,aAAa,CAAC;AAGpC,eAAO,MAAM,SAAS,aAAa,CAAC;AAMpC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmMlB,CAAC;AAIX;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEzB,CAAC;AAKX;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AAOX,wBAAgB,mCAAmC,CACjD,KAAK,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,EACnF,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACjC,OAAO,CAGT;AAED,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAiBhG;AAGD,eAAO,MAAM,SAAS;;;;;;;;;;;;;wBAgBT,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;kCACN,MAAM;6CACK,MAAM;uCACZ,MAAM;sCACP,MAAM,aAAa,MAAM;2CAEpB,MAAM,aAAa,MAAM;2CAEzB,MAAM,aAAa,MAAM;4CAExB,MAAM,aAAa,MAAM;+CAEtB,MAAM,aAAa,MAAM;8CAE1B,MAAM,aAAa,MAAM,UAAU,MAAM;qDAIlC,MAAM,aAAa,MAAM;;+BAO/C,MAAM;uCACE,MAAM;sCACP,MAAM,UAAU,MAAM;0CAClB,MAAM;wCACR,MAAM,UAAU,MAAM;uCAEvB,MAAM,UAAU,MAAM;sCAEvB,MAAM,UAAU,MAAM;CAEvC,CAAC;AAEX;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAElE;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAI/E;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjE;AAGD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFZ,CAAC;AA6DX,eAAO,MAAM,cAAc;4BACV,MAAM;+BACH,MAAM,UAAU,MAAM;gCACrB,MAAM,QAAQ,MAAM;mCAGjB,MAAM,QAAQ,MAAM,OAAO,MAAM,mBAAmB,MAAM,EAAE;qCAKxE,MAAM,QACR,MAAM,OACP,MAAM,aACA,MAAM,WACR,MAAM;qCAKO,MAAM,QAAQ,MAAM,OAAO,MAAM,SAAS,MAAM,OAAO,MAAM;CAE7E,CAAC"}
package/dist/constants.js CHANGED
@@ -344,6 +344,7 @@ export const ENDPOINTS = {
344
344
  AUTH_RESEND_CODE: `${API_BASE}/auth/resend-code`,
345
345
  AUTH_FORGOT_PASSWORD: `${API_BASE}/auth/forgot-password`,
346
346
  AUTH_RESET_PASSWORD: `${API_BASE}/auth/reset-password`,
347
+ AUTH_OAUTH_EXCHANGE: `${API_BASE}/auth/oauth/exchange`,
347
348
  // Users
348
349
  USERS_ME: `${API_BASE}/users/me`,
349
350
  USER_AVATAR: `${API_BASE}/users/me/avatar`,
@@ -517,8 +518,17 @@ export const ENDPOINTS = {
517
518
  CHANNEL_CONVERSATION_SESSION: (orgId, conversationId) => `${API_BASE}/orgs/${orgId}/channel-conversations/${conversationId}/session`,
518
519
  CHANNEL_MESSAGE: (orgId, messageId) => `${API_BASE}/orgs/${orgId}/channel-messages/${messageId}`,
519
520
  CHANNEL_PROVISIONING: (orgId) => `${API_BASE}/orgs/${orgId}/channel-provisioning`,
521
+ CHANNEL_SLACK_MANIFEST_LINK: (orgId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/slack/manifest-link`,
520
522
  CHANNEL_PROVISIONING_SESSION: (orgId, sessionId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/${sessionId}`,
521
523
  CHANNEL_PROVISIONING_CANCEL: (orgId, sessionId) => `${API_BASE}/orgs/${orgId}/channel-provisioning/${sessionId}/cancel`,
524
+ // Tier-B platform verb (agent-only): send one message as the bound bot.
525
+ CHANNEL_SEND: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/channel-send`,
526
+ // Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
527
+ SLACK_CHANNELS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/channels`,
528
+ SLACK_USERS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/users`,
529
+ SLACK_HISTORY: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/history`,
530
+ SLACK_MEMBERS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/members`,
531
+ SLACK_STATUS: (orgId) => `${API_BASE}/orgs/${orgId}/agents/me/slack/status`,
522
532
  // Invitations (org-scoped, admin)
523
533
  ORG_INVITATIONS: (orgId) => `${API_BASE}/orgs/${orgId}/invitations`,
524
534
  ORG_INVITATION: (orgId, invId) => `${API_BASE}/orgs/${orgId}/invitations/${invId}`,
@@ -552,6 +562,7 @@ export const ENDPOINTS = {
552
562
  WIKI_REFS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/refs`,
553
563
  WIKI_REFS_CHECK: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/refs/check`,
554
564
  WIKI_ANCHOR_STATUS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/anchor-status`,
565
+ WIKI_ANCHOR_RESOLVE: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/anchor-resolve`,
555
566
  WIKI_CHANGESETS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/changesets`,
556
567
  WIKI_CHANGESET: (orgId, wikiId, changesetId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/changesets/${changesetId}`,
557
568
  WIKI_CHANGESET_DIFF: (orgId, wikiId, changesetId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/changesets/${changesetId}/diff`,
@@ -580,6 +591,8 @@ export const ENDPOINTS = {
580
591
  // Unified Comments (org-scoped, api-server)
581
592
  COMMENTS: (orgId) => `${API_BASE}/orgs/${orgId}/comments`,
582
593
  COMMENT: (orgId, commentId) => `${API_BASE}/orgs/${orgId}/comments/${commentId}`,
594
+ COMMENT_RESOLVE: (orgId, commentId) => `${API_BASE}/orgs/${orgId}/comments/${commentId}:resolve`,
595
+ COMMENT_REOPEN: (orgId, commentId) => `${API_BASE}/orgs/${orgId}/comments/${commentId}:reopen`,
583
596
  // Inbox (org-scoped)
584
597
  INBOX: (orgId) => `${API_BASE}/orgs/${orgId}/inbox`,
585
598
  INBOX_UNREAD_COUNT: (orgId) => `${API_BASE}/orgs/${orgId}/inbox/unread-count`,
@@ -610,6 +623,7 @@ export const ENDPOINTS = {
610
623
  ORG_UNREAD: (orgId) => `${API_BASE}/orgs/${orgId}/unread`,
611
624
  CHAT_READ: (orgId, chatId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/read`,
612
625
  THREAD_UNREAD: (orgId, chatId, threadRootId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/threads/${threadRootId}/unread`,
626
+ THREAD_READ: (orgId, chatId, threadRootId) => `${API_BASE}/orgs/${orgId}/chats/${chatId}/threads/${threadRootId}/read`,
613
627
  // References (org-scoped)
614
628
  REFS_RESOLVE: (orgId) => `${API_BASE}/orgs/${orgId}/refs/resolve`,
615
629
  REFS_BACKLINKS: (orgId) => `${API_BASE}/orgs/${orgId}/refs/backlinks`,
@@ -670,7 +684,9 @@ export const ENDPOINTS = {
670
684
  // Clip registry (global, served by clip-service → Pinix Hub proxy)
671
685
  CLIP_REGISTRY: () => `${CLIP_BASE}/registry/clips`,
672
686
  // Edge device endpoints
687
+ ORG_EDGE: (orgId) => `/api/v1/orgs/${orgId}/edge`,
673
688
  ORG_EDGE_DEVICES: (orgId) => `/api/v1/orgs/${orgId}/edge/devices`,
689
+ ORG_EDGE_DEVICE: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}`,
674
690
  ORG_EDGE_ONBOARDING: (orgId) => `/api/v1/orgs/${orgId}/edge/onboarding`,
675
691
  ORG_EDGE_PROFILES: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}/profiles`,
676
692
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
@@ -861,4 +877,5 @@ export const COMMENT_TARGET = {
861
877
  const frag = lineStart === lineEnd ? `l=${lineStart}` : `l=${lineStart}-${lineEnd}`;
862
878
  return `prll://${wikiId}/${encodeWikiPath(path)}?rev=${rev}#${frag}`;
863
879
  },
880
+ wikiTextRange: (wikiId, path, rev, start, end) => `prll://${wikiId}/${encodeWikiPath(path)}?rev=${rev}#t=${start}-${end}`,
864
881
  };
package/dist/types.d.ts CHANGED
@@ -1520,6 +1520,24 @@ export interface WikiAnchorStatus {
1520
1520
  export interface WikiAnchorStatusResponse {
1521
1521
  results: WikiAnchorStatus[];
1522
1522
  }
1523
+ export interface WikiAnchorResolveRequest {
1524
+ targets: string[];
1525
+ }
1526
+ export type WikiAnchorResolveState = 'attached' | 'detached' | 'file_missing' | 'unknown';
1527
+ export interface WikiAnchorResolveRange {
1528
+ start: number;
1529
+ end: number;
1530
+ }
1531
+ export interface WikiAnchorResolveResult {
1532
+ target_uri: string;
1533
+ state: WikiAnchorResolveState;
1534
+ current?: WikiAnchorResolveRange;
1535
+ origin_quote?: string;
1536
+ }
1537
+ export interface WikiAnchorResolveResponse {
1538
+ head_rev: string;
1539
+ results: WikiAnchorResolveResult[];
1540
+ }
1523
1541
  export interface WikiRefsCheckResponse {
1524
1542
  wiki_id: string;
1525
1543
  wiki_slug: string;
@@ -1948,18 +1966,22 @@ export interface Comment {
1948
1966
  id: string;
1949
1967
  org_id: string;
1950
1968
  target_uri: string;
1969
+ target_quote?: string | null;
1951
1970
  parent_id?: string | null;
1952
1971
  author_id: string;
1953
1972
  body: string;
1954
1973
  mentions?: Mention[];
1955
1974
  hints?: MessageHints | null;
1956
1975
  agent_step_id?: string | null;
1976
+ resolved_at?: string | null;
1977
+ resolved_by_id?: string | null;
1957
1978
  created_at: string;
1958
1979
  updated_at: string;
1959
1980
  author?: User;
1960
1981
  }
1961
1982
  export interface CreateCommentRequest {
1962
1983
  target_uri: string;
1984
+ target_quote?: string;
1963
1985
  body: string;
1964
1986
  parent_id?: string;
1965
1987
  }
@@ -2024,14 +2046,26 @@ export interface ChannelConnection {
2024
2046
  ingress_url?: string;
2025
2047
  /** Returned once at mint time (create / token regeneration). */
2026
2048
  ingress_token?: string;
2049
+ /**
2050
+ * The in-product scope-upgrade re-auth can act on this connection
2051
+ * (slack, active, provisioned-family — its auth_config carries the
2052
+ * OAuth client). Mirrors the upgrade endpoint's preconditions exactly.
2053
+ * Manual-family connections upgrade via the Slack console; the UI
2054
+ * hides the upgrade CTA when this is false/absent.
2055
+ */
2056
+ upgrade_eligible?: boolean;
2027
2057
  created_at: string;
2028
2058
  updated_at: string;
2029
2059
  }
2030
2060
  export interface ChannelCredentialsInput {
2031
- app_id: string;
2032
- app_secret: string;
2061
+ /** Feishu fields. */
2062
+ app_id?: string;
2063
+ app_secret?: string;
2033
2064
  verification_token?: string;
2034
2065
  encrypt_key?: string;
2066
+ /** Slack fields (webhook-only: the signing secret is the verifier). */
2067
+ bot_token?: string;
2068
+ signing_secret?: string;
2035
2069
  team_id?: string;
2036
2070
  }
2037
2071
  export interface CreateChannelConnectionInput {
@@ -2076,10 +2110,13 @@ export interface ChannelMessage {
2076
2110
  created_at: string;
2077
2111
  }
2078
2112
  /**
2079
- * Feishu one-click provisioning session (OAuth device flow). The client
2080
- * renders `verification_url` as a QR code and lazily polls the status
2081
- * endpoint every `poll_interval_seconds` each poll may forward one
2082
- * provider poll server-side, so respect the interval.
2113
+ * One-click provisioning session. Provider-specific shape:
2114
+ * - feishu (OAuth device flow): render `verification_url` as a QR code;
2115
+ * each status poll may forward one provider poll server-side, so respect
2116
+ * `poll_interval_seconds`.
2117
+ * - slack (manifest + OAuth install): `verification_url` is the authorize
2118
+ * link to open; status polls are pure state reads (completion is pushed
2119
+ * by the OAuth callback).
2083
2120
  */
2084
2121
  export type ChannelProvisioningStatus = 'pending' | 'polling' | 'done' | 'expired' | 'denied' | 'canceled' | 'failed';
2085
2122
  export interface ChannelProvisioningSession {
@@ -2097,13 +2134,151 @@ export interface ChannelProvisioningSession {
2097
2134
  expires_at: string;
2098
2135
  created_at: string;
2099
2136
  updated_at: string;
2100
- /** QR target — present on live (pending/polling) sessions only. */
2137
+ /**
2138
+ * Provisioning target — present on live (pending/polling) sessions only.
2139
+ * feishu: the QR-code content; slack: the OAuth authorize link.
2140
+ */
2101
2141
  verification_url?: string;
2142
+ /** feishu only. */
2102
2143
  user_code?: string;
2103
2144
  }
2104
- export interface InitiateChannelProvisioningInput {
2145
+ /**
2146
+ * Discriminated on `provider`: slack REQUIRES the config token (the server
2147
+ * 400s without it), other providers have no such field — the union makes a
2148
+ * token-less slack initiate unrepresentable at compile time.
2149
+ */
2150
+ export type InitiateChannelProvisioningInput = {
2105
2151
  agent_id: string;
2106
- provider: ChannelProvider;
2152
+ provider: 'slack';
2153
+ /**
2154
+ * The short-lived app-configuration token (12h, generated at
2155
+ * api.slack.com/apps). Transits once into apps.manifest.create/update
2156
+ * and is never stored.
2157
+ */
2158
+ config_token: string;
2159
+ /**
2160
+ * Scope-upgrade re-auth: converge the agent's EXISTING active
2161
+ * connection's app on the current manifest and re-authorize it (bot
2162
+ * token replaced in place, app id preserved) instead of creating a
2163
+ * new app.
2164
+ */
2165
+ upgrade?: boolean;
2166
+ } | {
2167
+ agent_id: string;
2168
+ provider: Exclude<ChannelProvider, 'slack'>;
2169
+ };
2170
+ /**
2171
+ * Manifest-prefill link for the guided manual slack path: the platform
2172
+ * mints a pending connection and returns an api.slack.com link that opens
2173
+ * the create-app form with everything preset (events, scopes, this
2174
+ * connection's webhook URL). The user installs the app themselves and
2175
+ * activates the SAME connection by delivering bot token + signing secret.
2176
+ */
2177
+ export interface SlackManifestLinkResult {
2178
+ connection_id: string;
2179
+ manifest_url: string;
2180
+ }
2181
+ /**
2182
+ * Tier-B platform verb request (agent-only): send as the bound bot.
2183
+ * Deliberately narrowed to 'slack' — the verb surface is per-vendor
2184
+ * (feishu outbound is the lark-cli broker, not this endpoint), so a
2185
+ * generic ChannelProvider here would compile call sites that always 400.
2186
+ */
2187
+ export interface SendChannelMessageInput {
2188
+ channel_type: 'slack';
2189
+ /** Vendor-native conversation id from the inbound event (e.g. C…/D…). */
2190
+ conversation_id: string;
2191
+ /**
2192
+ * External message id being answered (channel-domain format:
2193
+ * `{channel}:{ts}`, thread children `{channel}:{root}#{ts}`). REQUIRED
2194
+ * for channel conversations (the reply lands in that message's thread).
2195
+ * In DMs the SESSION never forks, but reply POSITION follows the
2196
+ * question: a thread-child id lands the reply inside that thread, a
2197
+ * bare id (or omitting the field) keeps the flattened main flow.
2198
+ */
2199
+ reply_to?: string;
2200
+ text: string;
2201
+ }
2202
+ export interface SentChannelMessage {
2203
+ channel_type: 'slack';
2204
+ conversation_id: string;
2205
+ /**
2206
+ * Channel-domain external id — `{channel}:{ts}` for top-level posts,
2207
+ * `{channel}:{root}#{ts}` when the reply landed inside a thread — usable
2208
+ * directly as a future reply_to.
2209
+ */
2210
+ message_id: string;
2211
+ thread_anchor?: string;
2212
+ sent_at: string;
2213
+ }
2214
+ /**
2215
+ * Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
2216
+ * Authorization is the bot's own Slack permissions (invite the bot to a
2217
+ * channel to make its history readable) — reads have no external side
2218
+ * effect, so the seen-conversation restriction of the send verb does not
2219
+ * apply. Cursor pagination follows Slack's contract (empty = last page).
2220
+ */
2221
+ export interface SlackChannelInfo {
2222
+ id: string;
2223
+ name: string;
2224
+ is_private: boolean;
2225
+ is_member: boolean;
2226
+ num_members?: number;
2227
+ topic?: string;
2228
+ }
2229
+ export interface SlackChannelsPage {
2230
+ channels: SlackChannelInfo[];
2231
+ next_cursor?: string;
2232
+ }
2233
+ export interface SlackUserInfo {
2234
+ id: string;
2235
+ name: string;
2236
+ real_name?: string;
2237
+ is_bot: boolean;
2238
+ deleted?: boolean;
2239
+ }
2240
+ export interface SlackUsersPage {
2241
+ users: SlackUserInfo[];
2242
+ next_cursor?: string;
2243
+ }
2244
+ export interface SlackHistoryMessage {
2245
+ /**
2246
+ * Synthesized channel-domain id — `{conversation}:{ts}`, or
2247
+ * `{conversation}:{root}#{ts}` for thread children — directly usable as
2248
+ * the send verb's `reply_to` (no client-side root#child derivation).
2249
+ */
2250
+ message_id: string;
2251
+ ts: string;
2252
+ thread_ts?: string;
2253
+ user?: string;
2254
+ bot_id?: string;
2255
+ text: string;
2256
+ }
2257
+ export interface SlackHistoryPage {
2258
+ messages: SlackHistoryMessage[];
2259
+ next_cursor?: string;
2260
+ }
2261
+ export interface SlackMembersPage {
2262
+ /** Bare Slack user ids — resolve display names via the users verb. */
2263
+ members: string[];
2264
+ next_cursor?: string;
2265
+ }
2266
+ /**
2267
+ * Slack-native pagination for the read verbs. Filters are deliberately
2268
+ * FIXED server-side (channels: public+private, archived excluded) — the
2269
+ * public contract is cursor/limit only; widening it is a deliberate scope
2270
+ * decision, not a missing passthrough.
2271
+ */
2272
+ export interface SlackReadPageQuery {
2273
+ cursor?: string;
2274
+ limit?: number;
2275
+ }
2276
+ /** Agents-pane "typing…" indicator for one assistant thread (empty status clears). */
2277
+ export interface SlackStatusInput {
2278
+ conversation: string;
2279
+ /** The assistant thread's root ts. */
2280
+ thread_ts: string;
2281
+ status?: string;
2107
2282
  }
2108
2283
  export type DispatchEventType = 'message' | 'task_assign' | 'task_update' | 'task_comment' | 'wiki_comment' | 'schedule.fire' | 'external_trigger' | 'approval_decided' | 'channel_message';
2109
2284
  export type DispatchStatus = 'pending' | 'received' | 'acked';
@@ -2524,6 +2699,8 @@ export interface ResolvedRef {
2524
2699
  resolved_rev?: string;
2525
2700
  line_start?: number;
2526
2701
  line_end?: number;
2702
+ text_start?: number;
2703
+ text_end?: number;
2527
2704
  heading_path?: string[];
2528
2705
  symbol_name?: string;
2529
2706
  comment_author?: string;
@@ -3213,6 +3390,28 @@ export interface SearchResponse {
3213
3390
  comments?: boolean;
3214
3391
  };
3215
3392
  }
3393
+ /**
3394
+ * Where an Edge device runs — and, consequently, who it belongs to.
3395
+ *
3396
+ * - `byoc` — the user's own computer running Parall Clip. Owner-only in every
3397
+ * sense: only the owner connects it, manages it, or executes on it.
3398
+ * - `hosted` — a platform-managed Cloud Profile. The browser login it holds is an
3399
+ * ORG-SHARED credential maintained by its creator. Members and agents
3400
+ * execute against it ONLY through a clip connection its maintainer
3401
+ * bound; there is no implicit route to a hosted device.
3402
+ */
3403
+ export type EdgePlacement = 'byoc' | 'hosted';
3404
+ /**
3405
+ * Lifecycle of a hosted Cloud Profile. Only the states the server can PROVE without
3406
+ * the runtime fence are emitted today; the fence-aware ones (`starting` / `online` /
3407
+ * `busy`) arrive with the controller.
3408
+ *
3409
+ * - `idle` — no pod running (and none requested). Creating a profile starts nothing.
3410
+ * - `deleting` — delete requested; the finalizer (pod drain, S3 state purge) is still
3411
+ * running. Deletion is async and idempotent, so this can persist for
3412
+ * several minutes.
3413
+ */
3414
+ export type EdgeHostedState = 'idle' | 'deleting';
3216
3415
  export interface EdgeDevice {
3217
3416
  id: string;
3218
3417
  org_id: string;
@@ -3222,6 +3421,23 @@ export interface EdgeDevice {
3222
3421
  last_seen_at?: string;
3223
3422
  created_at: string;
3224
3423
  updated_at: string;
3424
+ /** Absent on responses from a pre-D1 server; treat a missing value as 'byoc'. */
3425
+ placement?: EdgePlacement;
3426
+ /** Hosted devices only. */
3427
+ hosted_state?: EdgeHostedState;
3428
+ /**
3429
+ * Whether THIS caller may sign into / rebind / delete this device
3430
+ * (hosted: human maintainer ∨ human org admin; byoc: owner). Server-computed, so a
3431
+ * client can render management affordances without reimplementing the rule and
3432
+ * drifting from it.
3433
+ */
3434
+ can_manage?: boolean;
3435
+ /**
3436
+ * True for hosted devices: clips bound to it by its maintainer may be run by other
3437
+ * org members and agents. Surface this before anyone signs in — the login being
3438
+ * shared with the whole org is the product contract, not a footnote.
3439
+ */
3440
+ shared?: boolean;
3225
3441
  }
3226
3442
  export interface EdgeBrowserProfile {
3227
3443
  id: string;
@@ -3243,12 +3459,24 @@ export interface ClipConnection {
3243
3459
  created_at: string;
3244
3460
  updated_at: string;
3245
3461
  }
3462
+ /**
3463
+ * Two INDEPENDENT onboarding journeys. The original fields mean what they always
3464
+ * meant — "has this org set up the desktop journey?" — and hosted-backed state
3465
+ * never counts toward them, so a Cloud Profile cannot make desktop onboarding look
3466
+ * finished and tell the user to skip installing the app they still need. Precisely:
3467
+ * device-backed fields are scoped to live `placement='byoc'` edges;
3468
+ * `connection_created` additionally counts device-less MCP bindings (MCP has no
3469
+ * device and predates hosted). The `hosted_*` fields are the second journey;
3470
+ * neither impersonates the other.
3471
+ */
3246
3472
  export interface EdgeOnboardingStatus {
3247
3473
  device_registered: boolean;
3248
3474
  device_online: boolean;
3249
3475
  clip_installed: boolean;
3250
3476
  connection_created: boolean;
3251
3477
  profile_created: boolean;
3478
+ hosted_profile_created?: boolean;
3479
+ hosted_connection_created?: boolean;
3252
3480
  }
3253
3481
  export {};
3254
3482
  //# sourceMappingURL=types.d.ts.map