@vellumai/assistant 0.12.1-dev.202609161713.a96290f → 0.12.1-dev.202609162016.c36c1d1

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 (153) hide show
  1. package/AGENTS.md +1 -1
  2. package/Dockerfile +7 -7
  3. package/docs/architecture/integrations.md +7 -0
  4. package/docs/credential-execution-service.md +1 -1
  5. package/docs/desktop-browser-cli.md +4 -2
  6. package/openapi.yaml +183 -53
  7. package/package.json +5 -4
  8. package/scripts/bundled-plugin-packages.ts +154 -0
  9. package/scripts/generate-bundled-plugin-packages.ts +29 -0
  10. package/scripts/postinstall.ts +33 -0
  11. package/scripts/smoke-desktop-browser-cli.ts +1 -0
  12. package/scripts/test.ts +15 -13
  13. package/scripts/voice-ttft-spike.ts +2 -2
  14. package/src/__tests__/attachments-store.test.ts +22 -3
  15. package/src/__tests__/channel-reply-delivery.test.ts +56 -0
  16. package/src/__tests__/computer-use-screenshot-attachments.test.ts +411 -0
  17. package/src/__tests__/computer-use-screenshot-selection.test.ts +50 -0
  18. package/src/__tests__/conversation-agent-loop-inference-profile.test.ts +2 -0
  19. package/src/__tests__/conversation-agent-loop-overflow.test.ts +2 -0
  20. package/src/__tests__/conversation-agent-loop.test.ts +257 -6
  21. package/src/__tests__/conversation-attachments.test.ts +106 -0
  22. package/src/__tests__/conversation-fork-crud.test.ts +191 -0
  23. package/src/__tests__/credential-execution-client.test.ts +70 -53
  24. package/src/__tests__/events-tail-route.test.ts +33 -0
  25. package/src/__tests__/list-messages-tool-merge.test.ts +85 -1
  26. package/src/__tests__/oauth-apps-routes.test.ts +1 -0
  27. package/src/__tests__/oauth-commands-routes.test.ts +166 -0
  28. package/src/__tests__/oauth-connect-orchestrator.test.ts +2 -0
  29. package/src/__tests__/oauth-provider-serializer.test.ts +1 -0
  30. package/src/__tests__/oauth-providers-routes.test.ts +2 -0
  31. package/src/__tests__/persist-media-references.test.ts +50 -0
  32. package/src/__tests__/schedule-routes.test.ts +20 -0
  33. package/src/__tests__/scheduler-result-notification.test.ts +23 -4
  34. package/src/__tests__/script-proxy-certs.test.ts +1 -1
  35. package/src/__tests__/secret-routes-platform-proxy.test.ts +86 -31
  36. package/src/__tests__/secret-routes-scrub.test.ts +22 -27
  37. package/src/__tests__/secure-keys-managed-failover.test.ts +8 -0
  38. package/src/__tests__/secure-keys.test.ts +7 -3
  39. package/src/__tests__/skills.test.ts +5 -4
  40. package/src/__tests__/tool-result-metadata-plumbing.test.ts +63 -0
  41. package/src/api/attachment-provenance.test.ts +68 -0
  42. package/src/api/computer-use-tool.test.ts +55 -0
  43. package/src/api/computer-use-tool.ts +27 -0
  44. package/src/api/events/assistant-outbound-attachment.ts +3 -0
  45. package/src/api/events/desktop-activity-changed.ts +10 -0
  46. package/src/api/index.ts +11 -0
  47. package/src/api/responses/conversation-message.ts +3 -0
  48. package/src/cli/commands/__tests__/cli-test-harness.ts +21 -3
  49. package/src/cli/commands/__tests__/plugins.test.ts +66 -0
  50. package/src/cli/commands/__tests__/schedules.test.ts +14 -0
  51. package/src/cli/commands/bash.help.ts +4 -3
  52. package/src/cli/commands/credentials.help.ts +3 -3
  53. package/src/cli/commands/oauth/index.help.ts +10 -0
  54. package/src/cli/commands/oauth/providers.ts +12 -0
  55. package/src/cli/commands/oauth/request.test.ts +179 -2
  56. package/src/cli/commands/oauth/request.ts +41 -10
  57. package/src/cli/commands/plugins.ts +50 -18
  58. package/src/cli/commands/schedules.ts +2 -0
  59. package/src/cli/lib/__tests__/install-from-github.test.ts +67 -0
  60. package/src/cli/lib/__tests__/local-plugin-upgrade.test.ts +169 -0
  61. package/src/cli/lib/__tests__/plugin-catalog-cache.test.ts +57 -0
  62. package/src/cli/lib/__tests__/plugin-catalog-platform.test.ts +14 -0
  63. package/src/cli/lib/__tests__/plugin-catalog-resolve.test.ts +27 -1
  64. package/src/cli/lib/__tests__/plugin-details.test.ts +9 -2
  65. package/src/cli/lib/__tests__/plugin-marketplace.test.ts +20 -0
  66. package/src/cli/lib/__tests__/plugins-install-offline.test.ts +43 -0
  67. package/src/cli/lib/__tests__/search-plugins.test.ts +31 -0
  68. package/src/cli/lib/bundled-plugin-packages.json +4 -0
  69. package/src/cli/lib/bundled-plugin-packages.ts +87 -0
  70. package/src/cli/lib/diff-plugin.ts +1 -1
  71. package/src/cli/lib/inspect-plugin.ts +80 -12
  72. package/src/cli/lib/install-from-github.ts +133 -76
  73. package/src/cli/lib/plugin-catalog-cache.ts +22 -3
  74. package/src/cli/lib/plugin-catalog-local.ts +13 -3
  75. package/src/cli/lib/plugin-catalog-platform.ts +6 -1
  76. package/src/cli/lib/plugin-catalog-resolve.ts +20 -0
  77. package/src/cli/lib/plugin-details.ts +12 -0
  78. package/src/cli/lib/plugin-marketplace.ts +121 -21
  79. package/src/cli/lib/plugin-pin-history.ts +5 -2
  80. package/src/cli/lib/search-plugins.ts +58 -16
  81. package/src/cli/lib/upgrade-plugin.ts +48 -3
  82. package/src/cli/output.ts +18 -4
  83. package/src/config/bundled-skills/schedule/SKILL.md +6 -6
  84. package/src/config/platform-identity.ts +8 -8
  85. package/src/config/schemas/mcp.ts +5 -1
  86. package/src/credential-execution/ces-runtime.ts +2 -2
  87. package/src/credential-execution/executable-discovery.ts +36 -134
  88. package/src/credential-execution/process-manager.test.ts +20 -24
  89. package/src/credential-execution/process-manager.ts +24 -19
  90. package/src/daemon/__tests__/turn-tail-deleted-conversation.test.ts +36 -0
  91. package/src/daemon/assistant-attachments.ts +20 -12
  92. package/src/daemon/conversation-agent-loop-handlers.ts +74 -3
  93. package/src/daemon/conversation-agent-loop.ts +12 -0
  94. package/src/daemon/conversation-attachments.ts +93 -12
  95. package/src/daemon/conversation-turn-finalize.ts +26 -13
  96. package/src/daemon/daemon-control.ts +2 -6
  97. package/src/daemon/lifecycle.ts +4 -4
  98. package/src/daemon/mcp-reload-service.ts +1 -1
  99. package/src/daemon/message-types/shared.ts +1 -0
  100. package/src/daemon/persist-media-references.ts +20 -3
  101. package/src/desktop/desktop-automation-lease.test.ts +143 -0
  102. package/src/desktop/desktop-automation-lease.ts +39 -3
  103. package/src/mcp/__tests__/manager-tool-caps.test.ts +111 -0
  104. package/src/mcp/__tests__/startup.test.ts +30 -7
  105. package/src/mcp/__tests__/tool-caps.test.ts +107 -0
  106. package/src/mcp/manager.ts +168 -101
  107. package/src/mcp/startup.ts +33 -13
  108. package/src/mcp/tool-caps.ts +176 -0
  109. package/src/monitoring/plugin-auto-update.ts +6 -0
  110. package/src/notifications/schedule-result-producer.ts +4 -6
  111. package/src/oauth/AGENTS.md +2 -0
  112. package/src/oauth/__tests__/identity-verifier.test.ts +36 -1
  113. package/src/oauth/identity-verifier.ts +24 -0
  114. package/src/oauth/oauth-store.ts +11 -1
  115. package/src/oauth/provider-serializer.ts +1 -0
  116. package/src/oauth/seed-providers.ts +42 -0
  117. package/src/permissions/confirmation-guardian-request.test.ts +16 -0
  118. package/src/permissions/confirmation-guardian-request.ts +2 -3
  119. package/src/persistence/attachments-store.ts +84 -44
  120. package/src/persistence/conversation-crud.ts +111 -20
  121. package/src/persistence/conversation-types.test.ts +32 -0
  122. package/src/persistence/conversation-types.ts +26 -4
  123. package/src/persistence/migrations/379-oauth-providers-response-ok-field.test.ts +92 -0
  124. package/src/persistence/migrations/379-oauth-providers-response-ok-field.ts +32 -0
  125. package/src/persistence/schema/oauth.ts +1 -0
  126. package/src/persistence/steps.ts +13 -3
  127. package/src/plugins/defaults/memory/__tests__/buffer-file.test.ts +58 -13
  128. package/src/plugins/defaults/memory/src/memory-item-routes.test.ts +1 -1
  129. package/src/runtime/AGENTS.md +1 -1
  130. package/src/runtime/__tests__/agent-wake.test.ts +43 -1
  131. package/src/runtime/agent-wake.ts +2 -0
  132. package/src/runtime/migrations/__tests__/vbundle-import-policy.test.ts +89 -0
  133. package/src/runtime/migrations/vbundle-import-policy.ts +33 -11
  134. package/src/runtime/routes/__tests__/plugins-routes.test.ts +102 -0
  135. package/src/runtime/routes/conversation-routes.ts +29 -4
  136. package/src/runtime/routes/desktop-setup-routes.test.ts +2 -2
  137. package/src/runtime/routes/desktop-setup-routes.ts +7 -3
  138. package/src/runtime/routes/oauth-commands-routes.ts +65 -7
  139. package/src/runtime/routes/oauth-providers.ts +4 -0
  140. package/src/runtime/routes/plugins-routes.ts +69 -49
  141. package/src/runtime/routes/schedule-routes.ts +2 -0
  142. package/src/runtime/routes/secret-routes.ts +88 -117
  143. package/src/schedule/__tests__/worker-mcp-bootstrap.test.ts +107 -0
  144. package/src/schedule/__tests__/worker-mcp-readiness.test.ts +173 -0
  145. package/src/schedule/__tests__/worker-mcp-tools.test.ts +13 -47
  146. package/src/schedule/scheduler.ts +47 -11
  147. package/src/schedule/tool-surface-readiness.ts +65 -0
  148. package/src/schedule/worker-mcp.ts +85 -0
  149. package/src/schedule/worker.ts +9 -31
  150. package/src/security/secure-keys.ts +60 -48
  151. package/src/tools/terminal/__tests__/safe-env.test.ts +4 -4
  152. package/src/tools/terminal/__tests__/sanitized-bash.test.ts +0 -14
  153. package/src/tools/terminal/safe-env.ts +5 -23
package/AGENTS.md CHANGED
@@ -16,7 +16,7 @@ When you introduce a new env var that the assistant process needs to read at run
16
16
 
17
17
  **Default to including it.** If the var doesn't contain secrets (e.g. a URL, a feature flag, a path, a mode string), add it. Only omit it if it carries credential material (tokens, passwords, private keys) — those must stay isolated to CES.
18
18
 
19
- `CES_LOCAL_SOCKET` is intentionally included despite the socket exposing credential RPCs: assistant subprocesses are expected to reach CES. Credential protection is rules-based access control inside CES, not socket-path secrecy (see root `AGENTS.md`). `CES_SERVICE_TOKEN` and `CES_CREDENTIAL_URL` are also forwarded: managed children still resolve connections through CES HTTP, and the socket path is not a sufficient substitute yet. See the comment on those keys in `src/tools/terminal/safe-env.ts` before attempting to strip them.
19
+ `CES_BOOTSTRAP_SOCKET_DIR` is forwarded so children can reach CES over IPC. `CES_SERVICE_TOKEN` and `CES_CREDENTIAL_URL` are also forwarded so children can fail over to CES HTTP until that transport is removed. Credential protection is rules-based access control inside CES, not socket-path secrecy (see root `AGENTS.md`).
20
20
 
21
21
  ## Daemon startup philosophy
22
22
 
package/Dockerfile CHANGED
@@ -130,13 +130,13 @@ RUN bun run scripts/smoke-container-workspace-dependencies.ts
130
130
  # The repo-root .dockerignore decides which skills (and files) ship.
131
131
  COPY skills /app/skills
132
132
 
133
- # Materialize the git-ignored offline plugin manifest from its canonical source.
134
- # `assistant/src/cli/lib/plugin-catalog-local.ts` statically imports this JSON
135
- # (loaded even when platform features are enabled), so it must exist in the image
136
- # — the build installs with --ignore-scripts, so the postinstall sync that
137
- # regenerates it in dev never runs here. Mirrors how CI materializes the
138
- # feature-flag registry before building.
139
- COPY plugins/marketplace.json /app/assistant/src/cli/lib/bundled-marketplace.json
133
+ # Materialize the git-ignored offline marketplace and reviewed local packages.
134
+ # The build installs with --ignore-scripts, so the postinstall sync that creates
135
+ # these static imports in development never runs here.
136
+ COPY plugins /app/plugins
137
+ COPY meta/sync-bundled-copies.ts /app/meta/
138
+ RUN cd /app && bun run meta/sync-bundled-copies.ts --plugins-only && \
139
+ bun run assistant/scripts/generate-bundled-plugin-packages.ts
140
140
 
141
141
  # Install assistant CLI launcher backed by the bundled assistant package
142
142
  RUN printf '#!/usr/bin/env sh\nexec bun run /app/assistant/src/index.ts "$@"\n' > /usr/local/bin/assistant && \
@@ -552,6 +552,13 @@ Message content (stored as JSON `ContentBlock[]` in the DB) is flattened for the
552
552
 
553
553
  Attachments are materialized into `conversations/<conversation>/attachments/` as soon as they are linked to a message. During disk-view sync, the JSONL record reuses those filenames directly and only falls back to materializing legacy rows that have not been projected yet. Filename collisions are still resolved by appending a numeric suffix (e.g., `photo-2.png`, `photo-3.png`).
554
554
 
555
+ Computer-use screenshot media is materialized while its tool-result row is
556
+ finalized, so earlier frames remain represented in tool history, JSONL, and
557
+ compaction inputs. The final screenshot-bearing invocation reuses that same
558
+ attachment ID for an additional reply link. A single attachment can therefore
559
+ appear on both a tool-result row and a reply row without creating a second
560
+ attachment-store object.
561
+
555
562
  ### Backfill Migration
556
563
 
557
564
  Existing conversations created before the disk view was introduced are backfilled by workspace migration `009-backfill-conversation-disk-view`, which replays all conversations and their messages through the disk-view sync functions.
@@ -221,7 +221,7 @@ These invariants are enforced by guard tests and code review:
221
221
  4. **Grants and audit logs are CES-internal**: The assistant cannot read CES grant tables or audit logs directly. CES exposes grant status and audit summaries via RPC responses.
222
222
  5. **No generic authenticated HTTP clients in secure commands**: `curl`, `wget`, `httpie`, interpreters, and shell trampolines are structurally denied as secure command entrypoints. This is checked at manifest validation and re-checked at execution time.
223
223
  6. **Managed CES container runs as non-root**: The CES Docker image runs as `uid 1001` (user `ces`). The CES data volume is owned by this user.
224
- 7. **Single active bootstrap connection**: In managed mode, CES accepts one connection on the bootstrap socket and unlinks the socket path while that connection is live, so no second process can connect concurrently. CES is a long-lived sidecar: when the active session ends (the assistant disconnects or its container restarts), CES re-binds the socket and awaits the assistant's reconnection rather than shutting down. At most one connection is ever active; the sidecar only exits on SIGTERM/SIGINT.
224
+ 7. **Multi-connection bootstrap socket**: In managed mode, CES listens on the bootstrap socket as a concurrent multi-connection server and keeps the path bound. The assistant and its child processes each open their own RPC connection. CES is a long-lived sidecar: it stays up across assistant restarts and only exits on SIGTERM/SIGINT.
225
225
 
226
226
  ## Guarantees by deployment mode
227
227
 
@@ -18,7 +18,7 @@ flowchart LR
18
18
 
19
19
  Chrome and its dock launcher share the managed profile and loopback debug port. For Chrome reopened from the dock, the profile singleton lock identifies a candidate PID, validated against the installed executable, profile and loopback debug arguments. Discovery checks `/proc` socket ownership against that browser PID, refuses redirects and validates the returned browser WebSocket endpoint. The connection stays within the container. No CDP endpoint or token is exposed to the renderer.
20
20
 
21
- The desktop client bypasses personal-browser discovery, extension reconnect waits and backend fallback. It reuses the existing AX snapshot, DOM element resolution, mouse, keyboard, extraction and credential-fill implementations. Operation-scoped clients borrow the lease's connection; disposing one does not release the lease. `detach`, `close`, cancellation, errors and idle expiry release control. Only `tabs close` closes a Chrome tab.
21
+ The desktop client bypasses personal-browser discovery, extension reconnect waits and backend fallback. It reuses the existing AX snapshot, DOM element resolution, mouse, keyboard, extraction and credential-fill implementations. Operation-scoped clients borrow the lease's connection; disposing one does not release the lease. `detach`, `close`, turn completion, cancellation, errors and idle expiry release control. Turn completion clears the activity indicator immediately and queues browser cleanup before the next automation session; it leaves Chrome and the current page open for the user. Only `tabs close` closes a Chrome tab.
22
22
 
23
23
  `assistant browser --virtual-desktop screenshot --output /tmp/desktop-page.jpg` captures a color page image through CDP `Page.captureScreenshot`. It excludes the browser toolbar and desktop dock. `snapshot` returns semantic page structure. Agents should use these interfaces and let the manager start the desktop, including when older memory notes describe manual Xvnc, `xdotool` or scratch XWD conversion scripts.
24
24
 
@@ -26,8 +26,10 @@ Tab IDs are ephemeral numeric aliases for this managed browser's CDP target IDs.
26
26
 
27
27
  CDP mouse events use page viewport CSS coordinates. Before dispatching them, the client animates a purple arrow overlay to the same point. The overlay is excluded from accessibility and hit testing. It appears in the existing desktop stream and is removed on release. It does not move the OS pointer, appear in browser toolbar UI or visualize every programmatic DOM operation. Native dialogs and other applications are outside the browser CLI; users can interact with them directly in the expanded desktop. The picture-in-picture preview is view-only. Direct user interaction does not pause automation.
28
28
 
29
- The client records key and mouse presses before dispatch. On release it opens a fresh bounded cleanup connection, attaches to the same live targets, releases uncertain held input and removes overlays. A failed cleanup preserves state and the automation slot for retry. Dispatched actions are never automatically retried. Closed targets need no input cleanup. Browser-process loss disposes the client, and later requests discover the replacement process.
29
+ The client records key and mouse presses before dispatch. On release it opens a fresh bounded cleanup connection, attaches to the same live targets, releases uncertain held input and removes overlays. A failed cleanup preserves state and the automation slot for retry. Turn-triggered cancellation retries cleanup automatically until it succeeds or ownership changes. Dispatched actions are never automatically retried. Closed targets need no input cleanup. Browser-process loss disposes the client, and later requests discover the replacement process.
30
30
 
31
31
  `--use-active-tab` and personal browser targeting are rejected with `--virtual-desktop`. Download waiting is unsupported. Browser operations are bounded to two minutes and share the desktop lease's action budget and idle expiry.
32
32
 
33
33
  Validation: focused client tests exercise shared snapshot/click behavior, namespace isolation, stale references, target changes, cancellation and uncertain-input cleanup. Lease tests cover browser ownership, cancellation and cleanup independently of native input. The Linux smoke script exercises real Chrome, the CLI and visible pointer feedback.
34
+
35
+ The desktop header icon pulses in the assistant's avatar accent color while a browser automation lease is active, including between browser commands. It shares the progress indicator's accent and neutral fallback. Reduced-motion clients show a solid accent. Setup status exposes the optional `automationActive` field; `desktop_activity_changed` events refresh it on acquisition and cancellation or release. Installation progress retains its `assistant:self:desktop` sync invalidations. The indicator reads status without starting installation, and reconnects refetch the current lease state.
package/openapi.yaml CHANGED
@@ -11941,6 +11941,8 @@ paths:
11941
11941
  - ready
11942
11942
  - failed
11943
11943
  - unsupported
11944
+ automationActive:
11945
+ type: boolean
11944
11946
  stage:
11945
11947
  type: string
11946
11948
  enum:
@@ -11971,6 +11973,8 @@ paths:
11971
11973
  - ready
11972
11974
  - failed
11973
11975
  - unsupported
11976
+ automationActive:
11977
+ type: boolean
11974
11978
  stage:
11975
11979
  type: string
11976
11980
  enum:
@@ -20988,6 +20992,8 @@ paths:
20988
20992
  type: string
20989
20993
  fileBacked:
20990
20994
  type: boolean
20995
+ computerUseScreenshot:
20996
+ type: boolean
20991
20997
  required:
20992
20998
  - id
20993
20999
  - filename
@@ -21995,6 +22001,8 @@ paths:
21995
22001
  type: string
21996
22002
  fileBacked:
21997
22003
  type: boolean
22004
+ computerUseScreenshot:
22005
+ type: boolean
21998
22006
  required:
21999
22007
  - id
22000
22008
  - filename
@@ -26622,26 +26630,44 @@ paths:
26622
26630
  description: Resolved version (installed copy first, then repo `package.json`).
26623
26631
  source:
26624
26632
  anyOf:
26625
- - type: object
26626
- properties:
26627
- kind:
26628
- type: string
26629
- const: github
26630
- repo:
26631
- type: string
26632
- description: "`owner/repo` of the external plugin repository."
26633
- path:
26634
- description: Directory within the repo, when the plugin is not at the root.
26635
- type: string
26636
- ref:
26637
- type: string
26638
- description: Pinned git ref the plugin is fetched from.
26639
- required:
26640
- - kind
26641
- - repo
26642
- - ref
26643
- additionalProperties: false
26644
- description: "Origin of the match: a whitelisted external plugin repository."
26633
+ - oneOf:
26634
+ - type: object
26635
+ properties:
26636
+ kind:
26637
+ type: string
26638
+ const: github
26639
+ repo:
26640
+ type: string
26641
+ description: "`owner/repo` of the external plugin repository."
26642
+ path:
26643
+ description: Directory within the repo, when the plugin is not at the root.
26644
+ type: string
26645
+ ref:
26646
+ type: string
26647
+ description: Pinned git ref the plugin is fetched from.
26648
+ required:
26649
+ - kind
26650
+ - repo
26651
+ - ref
26652
+ additionalProperties: false
26653
+ - type: object
26654
+ properties:
26655
+ kind:
26656
+ type: string
26657
+ const: local
26658
+ path:
26659
+ type: string
26660
+ description: Package key in the assistant bundle.
26661
+ version:
26662
+ type: string
26663
+ description: Bundled package version.
26664
+ required:
26665
+ - kind
26666
+ - path
26667
+ - version
26668
+ additionalProperties: false
26669
+ description: Reviewed source of the marketplace entry.
26670
+ type: object
26645
26671
  - type: "null"
26646
26672
  description: Pinned origin from the marketplace entry, or null when an installed copy has no catalog entry.
26647
26673
  readme:
@@ -26996,28 +27022,42 @@ paths:
26996
27022
  description: ISO-8601 install timestamp from the sidecar; null when absent.
26997
27023
  source:
26998
27024
  anyOf:
26999
- - type: object
27000
- properties:
27001
- kind:
27002
- type: string
27003
- description: Source kind. Only `github` is written today.
27004
- owner:
27005
- type: string
27006
- repo:
27007
- type: string
27008
- path:
27009
- description: Repo-relative directory holding the plugin root; absent = repo root.
27010
- type: string
27011
- ref:
27012
- type: string
27013
- description: Ref the install resolved through (the pinned commit SHA for marketplace installs).
27014
- required:
27015
- - kind
27016
- - owner
27017
- - repo
27018
- - ref
27019
- additionalProperties: false
27025
+ - oneOf:
27026
+ - type: object
27027
+ properties:
27028
+ kind:
27029
+ type: string
27030
+ const: github
27031
+ owner:
27032
+ type: string
27033
+ repo:
27034
+ type: string
27035
+ path:
27036
+ type: string
27037
+ ref:
27038
+ type: string
27039
+ required:
27040
+ - kind
27041
+ - owner
27042
+ - repo
27043
+ - ref
27044
+ additionalProperties: false
27045
+ - type: object
27046
+ properties:
27047
+ kind:
27048
+ type: string
27049
+ const: local
27050
+ path:
27051
+ type: string
27052
+ version:
27053
+ type: string
27054
+ required:
27055
+ - kind
27056
+ - path
27057
+ - version
27058
+ additionalProperties: false
27020
27059
  description: Source coordinates recorded in the install-time provenance sidecar.
27060
+ type: object
27021
27061
  - type: "null"
27022
27062
  description: Source recorded at install time; null when no sidecar exists.
27023
27063
  localChanges:
@@ -27076,6 +27116,9 @@ paths:
27076
27116
  anyOf:
27077
27117
  - type: object
27078
27118
  properties:
27119
+ kind:
27120
+ type: string
27121
+ const: local
27079
27122
  repo:
27080
27123
  type: string
27081
27124
  description: "`owner/repo` of the external plugin repository."
@@ -27111,6 +27154,9 @@ paths:
27111
27154
  marketplaceRef:
27112
27155
  type: string
27113
27156
  description: Ref of the canonical repo the marketplace manifest was read from.
27157
+ version:
27158
+ description: Bundled package version.
27159
+ type: string
27114
27160
  required:
27115
27161
  - repo
27116
27162
  - path
@@ -27547,7 +27593,7 @@ paths:
27547
27593
  description: Install name. Matches `assistant plugins install <name>`.
27548
27594
  path:
27549
27595
  type: string
27550
- description: "Human-readable origin: a `github:owner/repo@ref` locator for the external plugin."
27596
+ description: Human-readable catalog origin locator.
27551
27597
  description:
27552
27598
  description: Short description, when known (external entries only today).
27553
27599
  type: string
@@ -27561,27 +27607,87 @@ paths:
27561
27607
  - type: string
27562
27608
  - type: "null"
27563
27609
  description: Marketplace category slug (Skills taxonomy); null when the entry declares none.
27564
- source:
27610
+ integration:
27565
27611
  type: object
27566
27612
  properties:
27567
27613
  kind:
27568
27614
  type: string
27569
- const: github
27570
- repo:
27615
+ const: mcp
27616
+ displayName:
27617
+ type: string
27618
+ documentationUrl:
27619
+ type: string
27620
+ verifiedAt:
27621
+ type: string
27622
+ verification:
27571
27623
  type: string
27572
- description: "`owner/repo` of the external plugin repository."
27573
- path:
27574
- description: Directory within the repo, when the plugin is not at the root.
27624
+ const: documentation-only
27625
+ setup:
27626
+ type: object
27627
+ properties:
27628
+ mode:
27629
+ type: string
27630
+ enum:
27631
+ - oauth
27632
+ - manual
27633
+ instructions:
27634
+ type: string
27635
+ required:
27636
+ - mode
27637
+ - instructions
27638
+ additionalProperties: false
27639
+ logo:
27575
27640
  type: string
27576
- ref:
27641
+ oauthProvider:
27577
27642
  type: string
27578
- description: Pinned git ref the plugin is fetched from.
27579
27643
  required:
27580
27644
  - kind
27581
- - repo
27582
- - ref
27645
+ - displayName
27646
+ - documentationUrl
27647
+ - verifiedAt
27648
+ - verification
27649
+ - setup
27650
+ - logo
27583
27651
  additionalProperties: false
27584
- description: "Origin of the match: a whitelisted external plugin repository."
27652
+ source:
27653
+ oneOf:
27654
+ - type: object
27655
+ properties:
27656
+ kind:
27657
+ type: string
27658
+ const: github
27659
+ repo:
27660
+ type: string
27661
+ description: "`owner/repo` of the external plugin repository."
27662
+ path:
27663
+ description: Directory within the repo, when the plugin is not at the root.
27664
+ type: string
27665
+ ref:
27666
+ type: string
27667
+ description: Pinned git ref the plugin is fetched from.
27668
+ required:
27669
+ - kind
27670
+ - repo
27671
+ - ref
27672
+ additionalProperties: false
27673
+ - type: object
27674
+ properties:
27675
+ kind:
27676
+ type: string
27677
+ const: local
27678
+ path:
27679
+ type: string
27680
+ description: Package key in the assistant bundle.
27681
+ version:
27682
+ type: string
27683
+ description: Bundled package version.
27684
+ required:
27685
+ - kind
27686
+ - path
27687
+ - version
27688
+ additionalProperties: false
27689
+ description: Reviewed source of the marketplace entry.
27690
+ type: object
27585
27691
  required:
27586
27692
  - name
27587
27693
  - path
@@ -29036,6 +29142,8 @@ paths:
29036
29142
  - single_channel
29037
29143
  - multi_channel
29038
29144
  - all_channels
29145
+ quiet:
29146
+ type: boolean
29039
29147
  reuseConversation:
29040
29148
  type: boolean
29041
29149
  wakeConversationId:
@@ -29105,6 +29213,7 @@ paths:
29105
29213
  - mode
29106
29214
  - status
29107
29215
  - routingIntent
29216
+ - quiet
29108
29217
  - reuseConversation
29109
29218
  - wakeConversationId
29110
29219
  - workflowName
@@ -29284,6 +29393,8 @@ paths:
29284
29393
  - single_channel
29285
29394
  - multi_channel
29286
29395
  - all_channels
29396
+ quiet:
29397
+ type: boolean
29287
29398
  reuseConversation:
29288
29399
  type: boolean
29289
29400
  wakeConversationId:
@@ -29353,6 +29464,7 @@ paths:
29353
29464
  - mode
29354
29465
  - status
29355
29466
  - routingIntent
29467
+ - quiet
29356
29468
  - reuseConversation
29357
29469
  - wakeConversationId
29358
29470
  - workflowName
@@ -29484,6 +29596,8 @@ paths:
29484
29596
  - single_channel
29485
29597
  - multi_channel
29486
29598
  - all_channels
29599
+ quiet:
29600
+ type: boolean
29487
29601
  reuseConversation:
29488
29602
  type: boolean
29489
29603
  wakeConversationId:
@@ -29553,6 +29667,7 @@ paths:
29553
29667
  - mode
29554
29668
  - status
29555
29669
  - routingIntent
29670
+ - quiet
29556
29671
  - reuseConversation
29557
29672
  - wakeConversationId
29558
29673
  - workflowName
@@ -29681,6 +29796,8 @@ paths:
29681
29796
  - single_channel
29682
29797
  - multi_channel
29683
29798
  - all_channels
29799
+ quiet:
29800
+ type: boolean
29684
29801
  reuseConversation:
29685
29802
  type: boolean
29686
29803
  wakeConversationId:
@@ -29750,6 +29867,7 @@ paths:
29750
29867
  - mode
29751
29868
  - status
29752
29869
  - routingIntent
29870
+ - quiet
29753
29871
  - reuseConversation
29754
29872
  - wakeConversationId
29755
29873
  - workflowName
@@ -29938,6 +30056,8 @@ paths:
29938
30056
  - single_channel
29939
30057
  - multi_channel
29940
30058
  - all_channels
30059
+ quiet:
30060
+ type: boolean
29941
30061
  reuseConversation:
29942
30062
  type: boolean
29943
30063
  wakeConversationId:
@@ -30007,6 +30127,7 @@ paths:
30007
30127
  - mode
30008
30128
  - status
30009
30129
  - routingIntent
30130
+ - quiet
30010
30131
  - reuseConversation
30011
30132
  - wakeConversationId
30012
30133
  - workflowName
@@ -30138,6 +30259,8 @@ paths:
30138
30259
  - single_channel
30139
30260
  - multi_channel
30140
30261
  - all_channels
30262
+ quiet:
30263
+ type: boolean
30141
30264
  reuseConversation:
30142
30265
  type: boolean
30143
30266
  wakeConversationId:
@@ -30207,6 +30330,7 @@ paths:
30207
30330
  - mode
30208
30331
  - status
30209
30332
  - routingIntent
30333
+ - quiet
30210
30334
  - reuseConversation
30211
30335
  - wakeConversationId
30212
30336
  - workflowName
@@ -30341,6 +30465,8 @@ paths:
30341
30465
  - single_channel
30342
30466
  - multi_channel
30343
30467
  - all_channels
30468
+ quiet:
30469
+ type: boolean
30344
30470
  reuseConversation:
30345
30471
  type: boolean
30346
30472
  wakeConversationId:
@@ -30410,6 +30536,7 @@ paths:
30410
30536
  - mode
30411
30537
  - status
30412
30538
  - routingIntent
30539
+ - quiet
30413
30540
  - reuseConversation
30414
30541
  - wakeConversationId
30415
30542
  - workflowName
@@ -30680,6 +30807,8 @@ paths:
30680
30807
  - single_channel
30681
30808
  - multi_channel
30682
30809
  - all_channels
30810
+ quiet:
30811
+ type: boolean
30683
30812
  reuseConversation:
30684
30813
  type: boolean
30685
30814
  wakeConversationId:
@@ -30749,6 +30878,7 @@ paths:
30749
30878
  - mode
30750
30879
  - status
30751
30880
  - routingIntent
30881
+ - quiet
30752
30882
  - reuseConversation
30753
30883
  - wakeConversationId
30754
30884
  - workflowName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.12.1-dev.202609161713.a96290f",
3
+ "version": "0.12.1-dev.202609162016.c36c1d1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,16 +24,17 @@
24
24
  "lint:unused": "knip --include files,dependencies,unlisted",
25
25
  "lint:circular": "bun run scripts/check-circular-deps.ts",
26
26
  "lint:unused:production": "knip --production --include exports",
27
- "pretypecheck": "cd .. && bun run meta/sync-bundled-copies.ts",
27
+ "sync:bundled-catalog": "cd .. && bun run meta/sync-bundled-copies.ts && bun run assistant/scripts/generate-bundled-plugin-packages.ts",
28
+ "pretypecheck": "bun run sync:bundled-catalog",
28
29
  "typecheck": "bunx tsc --noEmit",
29
- "pretypecheck:fast": "cd .. && bun run meta/sync-bundled-copies.ts",
30
+ "pretypecheck:fast": "bun run sync:bundled-catalog",
30
31
  "typecheck:fast": "bunx tsgo --noEmit",
31
32
  "test": "bun run scripts/test.ts",
32
33
  "test:coverage": "COVERAGE=true bun run scripts/test.ts",
33
34
  "test:stable": "EXCLUDE_EXPERIMENTAL=true bun run scripts/test.ts",
34
35
  "test:bench": "find src -type f -name '*.benchmark.test.ts' -print0 | xargs -0 -P 1 -I {} bun test {}",
35
36
  "test:filesystem-tools": "bash scripts/test-filesystem-tools.sh",
36
- "postinstall": "cd .. && (git config core.hooksPath || git config core.hooksPath .githooks 2>/dev/null || true) && ([ -f meta/sync-bundled-copies.ts ] && bun run meta/sync-bundled-copies.ts 2>/dev/null || true)"
37
+ "postinstall": "bun run scripts/postinstall.ts"
37
38
  },
38
39
  "dependencies": {
39
40
  "@agentclientprotocol/sdk": "0.25.0",