@bivy/bivy 0.0.0 → 0.1.0-staging.2

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 (146) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +265 -5
  3. package/bin/acp-shim.mjs +298 -0
  4. package/bin/agent-manifest.json +277 -0
  5. package/bin/bivy.mjs +4100 -0
  6. package/bin/codex-app-server-shim.mjs +447 -0
  7. package/bin/patch-pi-dependencies.mjs +44 -0
  8. package/bin/prune-sessions.mjs +52 -0
  9. package/bin/sessions-list.mjs +27 -0
  10. package/bin/shim-path.mjs +126 -0
  11. package/bin/uninstall-paths.mjs +48 -0
  12. package/dist/approval.js +87 -0
  13. package/dist/attach.js +248 -0
  14. package/dist/auth.js +258 -0
  15. package/dist/bivy-login.js +180 -0
  16. package/dist/browser-open.js +50 -0
  17. package/dist/control-plane-tasks.js +236 -0
  18. package/dist/data-dir.js +25 -0
  19. package/dist/device-registry.js +201 -0
  20. package/dist/e2e.js +70 -0
  21. package/dist/ephemeral-exec.js +109 -0
  22. package/dist/exec.js +209 -0
  23. package/dist/git-auth.js +155 -0
  24. package/dist/github-app-auth.js +107 -0
  25. package/dist/github-app-connect.js +235 -0
  26. package/dist/github-app-manifest.js +82 -0
  27. package/dist/github-app-sync-cli.js +93 -0
  28. package/dist/github-app-vault.js +106 -0
  29. package/dist/github-apps.js +121 -0
  30. package/dist/github-connect-repo.js +74 -0
  31. package/dist/github-device-auth.js +109 -0
  32. package/dist/github-tasks.js +650 -0
  33. package/dist/guard.js +109 -0
  34. package/dist/harness/cache-evict.js +88 -0
  35. package/dist/harness/checkpoint.js +0 -0
  36. package/dist/harness/cow-clone.js +84 -0
  37. package/dist/harness/dep-cache.js +78 -0
  38. package/dist/harness/disk-admission.js +46 -0
  39. package/dist/harness/egress.js +30 -0
  40. package/dist/harness/manager.js +97 -0
  41. package/dist/harness/mcp-config-formats.js +164 -0
  42. package/dist/harness/mcp-config.js +111 -0
  43. package/dist/harness/mcp-inject.js +134 -0
  44. package/dist/harness/mcp-proxy-cli.js +88 -0
  45. package/dist/harness/mcp-proxy.js +150 -0
  46. package/dist/harness/net-proxy.js +120 -0
  47. package/dist/harness/sandbox.js +96 -0
  48. package/dist/history-sync.js +26 -0
  49. package/dist/hosted-endpoints.d.mts +14 -0
  50. package/dist/hosted-endpoints.mjs +35 -0
  51. package/dist/identity.js +153 -0
  52. package/dist/integrations/index.js +4 -0
  53. package/dist/integrations/manager.js +279 -0
  54. package/dist/integrations/oauth.js +78 -0
  55. package/dist/integrations/registry.js +239 -0
  56. package/dist/integrations/store.js +54 -0
  57. package/dist/integrations/types.js +1 -0
  58. package/dist/linear-tasks.js +49 -0
  59. package/dist/metadata.js +226 -0
  60. package/dist/multiplexer.js +79 -0
  61. package/dist/native-pi.js +38 -0
  62. package/dist/node-stats.js +237 -0
  63. package/dist/pairing-crypto.js +105 -0
  64. package/dist/policy/conditions.js +103 -0
  65. package/dist/policy/policy-engine.js +20 -0
  66. package/dist/policy/risk.js +18 -0
  67. package/dist/policy/ruleset.js +113 -0
  68. package/dist/policy/run-policy.js +108 -0
  69. package/dist/policy/session-reroute.js +96 -0
  70. package/dist/pty-runner.py +95 -0
  71. package/dist/question.js +146 -0
  72. package/dist/redact.js +97 -0
  73. package/dist/relay-attach.js +345 -0
  74. package/dist/relay-chunk.js +73 -0
  75. package/dist/relay-cli-crypto.js +70 -0
  76. package/dist/relay-client.js +344 -0
  77. package/dist/relay-setup.js +262 -0
  78. package/dist/repo-workspace.js +208 -0
  79. package/dist/runtime/adoption.js +45 -0
  80. package/dist/runtime/agent-service-bin.js +149 -0
  81. package/dist/runtime/agent-service.js +439 -0
  82. package/dist/runtime/ansi.js +27 -0
  83. package/dist/runtime/anthropic-preflight.js +80 -0
  84. package/dist/runtime/claude-code.js +1364 -0
  85. package/dist/runtime/cli-parsers.js +647 -0
  86. package/dist/runtime/codex-auth.js +168 -0
  87. package/dist/runtime/codex-preflight.js +60 -0
  88. package/dist/runtime/codex-sessions.js +229 -0
  89. package/dist/runtime/control-plane-location.js +74 -0
  90. package/dist/runtime/credential-ingest.js +122 -0
  91. package/dist/runtime/credential-provisioning.js +79 -0
  92. package/dist/runtime/credential-store.js +435 -0
  93. package/dist/runtime/credentials.js +153 -0
  94. package/dist/runtime/host.js +153 -0
  95. package/dist/runtime/index.js +1548 -0
  96. package/dist/runtime/local-model-store.js +194 -0
  97. package/dist/runtime/location-registry.js +28 -0
  98. package/dist/runtime/model-catalog.js +97 -0
  99. package/dist/runtime/model-namer.js +85 -0
  100. package/dist/runtime/native-process-scan.js +102 -0
  101. package/dist/runtime/native-session-discovery.js +103 -0
  102. package/dist/runtime/normalize.js +75 -0
  103. package/dist/runtime/oauth/model-oauth-providers.js +75 -0
  104. package/dist/runtime/oauth/model-oauth.js +324 -0
  105. package/dist/runtime/opencode-preflight.js +55 -0
  106. package/dist/runtime/pi-auth.js +82 -0
  107. package/dist/runtime/pi-oauth.js +52 -0
  108. package/dist/runtime/pi-session-discovery.js +42 -0
  109. package/dist/runtime/pi.js +518 -0
  110. package/dist/runtime/process.js +499 -0
  111. package/dist/runtime/protocol.js +630 -0
  112. package/dist/runtime/remote.js +541 -0
  113. package/dist/runtime/rpc-protocol.js +56 -0
  114. package/dist/runtime/ruleset-store.js +117 -0
  115. package/dist/runtime/session-location.js +50 -0
  116. package/dist/runtime/types.js +17 -0
  117. package/dist/secrets-cli.js +134 -0
  118. package/dist/secrets.js +264 -0
  119. package/dist/server.js +9411 -0
  120. package/dist/session/bivy-session.js +1 -0
  121. package/dist/session/checkpoint-pack.js +133 -0
  122. package/dist/session/event-log.js +340 -0
  123. package/dist/session/fork-dirty.js +73 -0
  124. package/dist/session/fork-prereqs.js +61 -0
  125. package/dist/session/fork.js +57 -0
  126. package/dist/session/native-import.js +56 -0
  127. package/dist/session/reconnect.js +168 -0
  128. package/dist/session/replication-service.js +236 -0
  129. package/dist/session/replication.js +106 -0
  130. package/dist/session/replicator.js +140 -0
  131. package/dist/session/session-new-dedupe.js +42 -0
  132. package/dist/session/sibling-client.js +201 -0
  133. package/dist/session/transcript-merge.js +131 -0
  134. package/dist/session/transcript-normal.js +130 -0
  135. package/dist/session/workspace-context.js +1 -0
  136. package/dist/session-event-coalescer.js +50 -0
  137. package/dist/session-identity.js +34 -0
  138. package/dist/session-ref.js +65 -0
  139. package/dist/stt-cli.js +131 -0
  140. package/dist/stt.js +168 -0
  141. package/dist/terminal.js +409 -0
  142. package/dist/wire-format.js +67 -0
  143. package/dist/worktree-provision.js +118 -0
  144. package/dist/worktree.js +117 -0
  145. package/package.json +40 -6
  146. package/public/qr.js +464 -0
@@ -0,0 +1,277 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "id": "codex",
5
+ "label": "Codex",
6
+ "command": "codex",
7
+ "hidden": true,
8
+ "headlessFlags": [
9
+ "exec"
10
+ ],
11
+ "install": {
12
+ "kind": "npm",
13
+ "pkg": "@openai/codex"
14
+ }
15
+ },
16
+ {
17
+ "id": "opencode",
18
+ "label": "OpenCode",
19
+ "command": "opencode",
20
+ "hidden": false,
21
+ "headlessFlags": [
22
+ "run",
23
+ "-s"
24
+ ],
25
+ "install": {
26
+ "kind": "npm",
27
+ "pkg": "opencode-ai"
28
+ }
29
+ },
30
+ {
31
+ "id": "aider",
32
+ "label": "Aider",
33
+ "command": "aider",
34
+ "hidden": false,
35
+ "headlessFlags": [
36
+ "--yes-always",
37
+ "--message"
38
+ ],
39
+ "install": {
40
+ "kind": "pip",
41
+ "pkg": "aider-chat"
42
+ }
43
+ },
44
+ {
45
+ "id": "hermes",
46
+ "label": "Hermes",
47
+ "command": "hermes",
48
+ "hidden": true,
49
+ "headlessFlags": [],
50
+ "install": {
51
+ "kind": "npm",
52
+ "pkg": "hermes-agent"
53
+ }
54
+ },
55
+ {
56
+ "id": "goose",
57
+ "label": "Goose",
58
+ "command": "goose",
59
+ "hidden": false,
60
+ "headlessFlags": [
61
+ "run",
62
+ "-t",
63
+ "--output-format",
64
+ "stream-json",
65
+ "--resume",
66
+ "--session-id"
67
+ ],
68
+ "install": {
69
+ "kind": "curl",
70
+ "display": "curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash",
71
+ "shell": "mkdir -p \"{bin}\" && curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false GOOSE_BIN_DIR=\"{bin}\" bash"
72
+ }
73
+ },
74
+ {
75
+ "id": "gemini",
76
+ "label": "Gemini CLI",
77
+ "command": "gemini",
78
+ "hidden": false,
79
+ "headlessFlags": [
80
+ "-p",
81
+ "-o",
82
+ "json",
83
+ "-r"
84
+ ],
85
+ "install": {
86
+ "kind": "npm",
87
+ "pkg": "@google/gemini-cli"
88
+ }
89
+ },
90
+ {
91
+ "id": "qwen",
92
+ "label": "Qwen Code",
93
+ "command": "qwen",
94
+ "hidden": false,
95
+ "headlessFlags": [
96
+ "-p",
97
+ "--output-format",
98
+ "json",
99
+ "--resume"
100
+ ],
101
+ "install": {
102
+ "kind": "npm",
103
+ "pkg": "@qwen-code/qwen-code"
104
+ }
105
+ },
106
+ {
107
+ "id": "cline",
108
+ "label": "Cline",
109
+ "command": "cline",
110
+ "hidden": false,
111
+ "headlessFlags": [
112
+ "-y",
113
+ "--id"
114
+ ],
115
+ "install": {
116
+ "kind": "npm",
117
+ "pkg": "cline"
118
+ }
119
+ },
120
+ {
121
+ "id": "crush",
122
+ "label": "Crush",
123
+ "command": "crush",
124
+ "hidden": false,
125
+ "headlessFlags": [
126
+ "run",
127
+ "-q"
128
+ ],
129
+ "install": {
130
+ "kind": "npm",
131
+ "pkg": "@charmland/crush"
132
+ }
133
+ },
134
+ {
135
+ "id": "cursor",
136
+ "label": "Cursor",
137
+ "command": "cursor-agent",
138
+ "hidden": false,
139
+ "headlessFlags": [
140
+ "--force",
141
+ "-p"
142
+ ],
143
+ "install": {
144
+ "kind": "curl",
145
+ "display": "curl https://cursor.com/install -fsS | bash",
146
+ "shell": "curl https://cursor.com/install -fsS | bash"
147
+ }
148
+ },
149
+ {
150
+ "id": "copilot",
151
+ "label": "GitHub Copilot",
152
+ "command": "copilot",
153
+ "hidden": false,
154
+ "headlessFlags": [
155
+ "--allow-all-tools",
156
+ "-p"
157
+ ],
158
+ "install": {
159
+ "kind": "npm",
160
+ "pkg": "@github/copilot"
161
+ }
162
+ },
163
+ {
164
+ "id": "grok",
165
+ "label": "Grok",
166
+ "command": "grok",
167
+ "hidden": false,
168
+ "headlessFlags": [
169
+ "-p"
170
+ ],
171
+ "install": {
172
+ "kind": "npm",
173
+ "pkg": "@vibe-kit/grok-cli"
174
+ }
175
+ },
176
+ {
177
+ "id": "amp",
178
+ "label": "Amp",
179
+ "command": "amp",
180
+ "hidden": false,
181
+ "headlessFlags": [
182
+ "-x",
183
+ "threads",
184
+ "continue"
185
+ ],
186
+ "install": {
187
+ "kind": "npm",
188
+ "pkg": "@sourcegraph/amp"
189
+ }
190
+ },
191
+ {
192
+ "id": "auggie",
193
+ "label": "Auggie",
194
+ "command": "auggie",
195
+ "hidden": false,
196
+ "headlessFlags": [
197
+ "--quiet",
198
+ "--print"
199
+ ],
200
+ "install": {
201
+ "kind": "npm",
202
+ "pkg": "@augmentcode/auggie"
203
+ }
204
+ },
205
+ {
206
+ "id": "droid",
207
+ "label": "Droid",
208
+ "command": "droid",
209
+ "hidden": false,
210
+ "headlessFlags": [
211
+ "exec",
212
+ "--auto",
213
+ "high"
214
+ ],
215
+ "install": {
216
+ "kind": "curl",
217
+ "display": "curl -fsSL https://app.factory.ai/cli | sh",
218
+ "shell": "curl -fsSL https://app.factory.ai/cli | sh"
219
+ }
220
+ },
221
+ {
222
+ "id": "continue",
223
+ "label": "Continue",
224
+ "command": "cn",
225
+ "hidden": false,
226
+ "headlessFlags": [
227
+ "--auto",
228
+ "-p"
229
+ ],
230
+ "install": {
231
+ "kind": "npm",
232
+ "pkg": "@continuedev/cli"
233
+ }
234
+ },
235
+ {
236
+ "id": "kilocode",
237
+ "label": "Kilo Code",
238
+ "command": "kilo",
239
+ "hidden": false,
240
+ "headlessFlags": [
241
+ "run",
242
+ "--auto",
243
+ "-s"
244
+ ],
245
+ "install": {
246
+ "kind": "npm",
247
+ "pkg": "@kilocode/cli"
248
+ }
249
+ },
250
+ {
251
+ "id": "rovodev",
252
+ "label": "Rovo Dev",
253
+ "command": "acli",
254
+ "hidden": false,
255
+ "headlessFlags": [
256
+ "rovodev",
257
+ "run",
258
+ "--yolo",
259
+ "--restore"
260
+ ],
261
+ "install": null
262
+ },
263
+ {
264
+ "id": "codebuff",
265
+ "label": "Codebuff",
266
+ "command": "codebuff",
267
+ "hidden": true,
268
+ "headlessFlags": [
269
+ "--continue"
270
+ ],
271
+ "install": {
272
+ "kind": "npm",
273
+ "pkg": "codebuff"
274
+ }
275
+ }
276
+ ]
277
+ }