@kushalkhemka/opensec-pi-subagents 0.19.2 → 0.19.4-bun.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.
- package/CHANGELOG.md +14 -0
- package/README.md +25 -986
- package/SECURITY.md +4 -4
- package/dist-bun/core.cjs +12607 -0
- package/dist-bun/index.js +31 -0
- package/package.json +30 -22
- package/CONTRIBUTING.md +0 -72
- package/dist/abortable.d.ts +0 -12
- package/dist/abortable.js +0 -42
- package/dist/agent-color.d.ts +0 -35
- package/dist/agent-color.js +0 -123
- package/dist/agent-file-toggle.d.ts +0 -125
- package/dist/agent-file-toggle.js +0 -258
- package/dist/agent-manager.d.ts +0 -472
- package/dist/agent-manager.js +0 -1338
- package/dist/agent-runner.d.ts +0 -302
- package/dist/agent-runner.js +0 -1004
- package/dist/agent-types.d.ts +0 -119
- package/dist/agent-types.js +0 -286
- package/dist/child-context.d.ts +0 -2
- package/dist/child-context.js +0 -12
- package/dist/context.d.ts +0 -12
- package/dist/context.js +0 -56
- package/dist/cross-extension-rpc.d.ts +0 -66
- package/dist/cross-extension-rpc.js +0 -138
- package/dist/custom-agents.d.ts +0 -54
- package/dist/custom-agents.js +0 -311
- package/dist/default-agents.d.ts +0 -7
- package/dist/default-agents.js +0 -119
- package/dist/discovery-cache.d.ts +0 -6
- package/dist/discovery-cache.js +0 -42
- package/dist/enabled-models.d.ts +0 -49
- package/dist/enabled-models.js +0 -145
- package/dist/env.d.ts +0 -6
- package/dist/env.js +0 -28
- package/dist/group-join.d.ts +0 -32
- package/dist/group-join.js +0 -116
- package/dist/index.d.ts +0 -50
- package/dist/index.js +0 -3679
- package/dist/invocation-config.d.ts +0 -107
- package/dist/invocation-config.js +0 -83
- package/dist/memory.d.ts +0 -53
- package/dist/memory.js +0 -165
- package/dist/mention-clone.d.ts +0 -87
- package/dist/mention-clone.js +0 -153
- package/dist/mention.d.ts +0 -81
- package/dist/mention.js +0 -131
- package/dist/model-resolver.d.ts +0 -36
- package/dist/model-resolver.js +0 -95
- package/dist/model-scope.d.ts +0 -49
- package/dist/model-scope.js +0 -48
- package/dist/nested-tools.d.ts +0 -55
- package/dist/nested-tools.js +0 -299
- package/dist/output-file.d.ts +0 -43
- package/dist/output-file.js +0 -142
- package/dist/prompts.d.ts +0 -55
- package/dist/prompts.js +0 -91
- package/dist/schedule-store.d.ts +0 -38
- package/dist/schedule-store.js +0 -155
- package/dist/schedule.d.ts +0 -109
- package/dist/schedule.js +0 -359
- package/dist/settings.d.ts +0 -360
- package/dist/settings.js +0 -253
- package/dist/skill-loader.d.ts +0 -24
- package/dist/skill-loader.js +0 -93
- package/dist/status-note.d.ts +0 -61
- package/dist/status-note.js +0 -85
- package/dist/structured-output.d.ts +0 -61
- package/dist/structured-output.js +0 -112
- package/dist/types.d.ts +0 -365
- package/dist/types.js +0 -5
- package/dist/ui/agent-mention.d.ts +0 -82
- package/dist/ui/agent-mention.js +0 -187
- package/dist/ui/agent-widget.d.ts +0 -217
- package/dist/ui/agent-widget.js +0 -585
- package/dist/ui/conversation-viewer.d.ts +0 -120
- package/dist/ui/conversation-viewer.js +0 -578
- package/dist/ui/fleet-list.d.ts +0 -195
- package/dist/ui/fleet-list.js +0 -471
- package/dist/ui/schedule-menu.d.ts +0 -16
- package/dist/ui/schedule-menu.js +0 -94
- package/dist/ui/select-item.d.ts +0 -27
- package/dist/ui/select-item.js +0 -34
- package/dist/ui/viewer-keys.d.ts +0 -20
- package/dist/ui/viewer-keys.js +0 -17
- package/dist/ui/workflow-card.d.ts +0 -175
- package/dist/ui/workflow-card.js +0 -332
- package/dist/ui/workflow-dialog.d.ts +0 -305
- package/dist/ui/workflow-dialog.js +0 -843
- package/dist/ui/workflow-menu.d.ts +0 -60
- package/dist/ui/workflow-menu.js +0 -147
- package/dist/usage.d.ts +0 -135
- package/dist/usage.js +0 -120
- package/dist/workflow/collisions.d.ts +0 -93
- package/dist/workflow/collisions.js +0 -85
- package/dist/workflow/entry.d.ts +0 -32
- package/dist/workflow/entry.js +0 -29
- package/dist/workflow/host.d.ts +0 -62
- package/dist/workflow/host.js +0 -362
- package/dist/workflow/journal.d.ts +0 -97
- package/dist/workflow/journal.js +0 -120
- package/dist/workflow/json-schema.d.ts +0 -51
- package/dist/workflow/json-schema.js +0 -111
- package/dist/workflow/meta.d.ts +0 -67
- package/dist/workflow/meta.js +0 -317
- package/dist/workflow/progress.d.ts +0 -224
- package/dist/workflow/progress.js +0 -361
- package/dist/workflow/runtime.d.ts +0 -334
- package/dist/workflow/runtime.js +0 -830
- package/dist/workflow/saved.d.ts +0 -90
- package/dist/workflow/saved.js +0 -203
- package/dist/workflow/task.d.ts +0 -136
- package/dist/workflow/task.js +0 -207
- package/dist/workflow/tool-description.d.ts +0 -38
- package/dist/workflow/tool-description.js +0 -199
- package/dist/workflow/worker-source.d.ts +0 -47
- package/dist/workflow/worker-source.js +0 -778
- package/dist/worktree.d.ts +0 -52
- package/dist/worktree.js +0 -164
- package/dist/xml.d.ts +0 -10
- package/dist/xml.js +0 -12
- package/src/abortable.ts +0 -43
- package/src/agent-color.ts +0 -161
- package/src/agent-file-toggle.ts +0 -269
- package/src/agent-manager.ts +0 -1581
- package/src/agent-runner.ts +0 -1247
- package/src/agent-types.ts +0 -346
- package/src/child-context.ts +0 -15
- package/src/context.ts +0 -58
- package/src/cross-extension-rpc.ts +0 -198
- package/src/custom-agents.ts +0 -333
- package/src/default-agents.ts +0 -123
- package/src/discovery-cache.ts +0 -42
- package/src/enabled-models.ts +0 -180
- package/src/env.ts +0 -33
- package/src/group-join.ts +0 -141
- package/src/index.ts +0 -3988
- package/src/invocation-config.ts +0 -155
- package/src/memory.ts +0 -179
- package/src/mention-clone.ts +0 -196
- package/src/mention.ts +0 -141
- package/src/model-resolver.ts +0 -118
- package/src/model-scope.ts +0 -70
- package/src/nested-tools.ts +0 -422
- package/src/output-file.ts +0 -155
- package/src/prompts.ts +0 -142
- package/src/schedule-store.ts +0 -153
- package/src/schedule.ts +0 -386
- package/src/settings.ts +0 -593
- package/src/skill-loader.ts +0 -102
- package/src/status-note.ts +0 -90
- package/src/structured-output.ts +0 -130
- package/src/types.ts +0 -377
- package/src/ui/agent-mention.ts +0 -216
- package/src/ui/agent-widget.ts +0 -659
- package/src/ui/conversation-viewer.ts +0 -589
- package/src/ui/fleet-list.ts +0 -543
- package/src/ui/schedule-menu.ts +0 -105
- package/src/ui/select-item.ts +0 -45
- package/src/ui/viewer-keys.ts +0 -39
- package/src/ui/workflow-card.ts +0 -470
- package/src/ui/workflow-dialog.ts +0 -1115
- package/src/ui/workflow-menu.ts +0 -193
- package/src/usage.ts +0 -167
- package/src/workflow/collisions.ts +0 -120
- package/src/workflow/entry.ts +0 -47
- package/src/workflow/host.ts +0 -403
- package/src/workflow/journal.ts +0 -164
- package/src/workflow/json-schema.ts +0 -128
- package/src/workflow/meta.ts +0 -325
- package/src/workflow/progress.ts +0 -550
- package/src/workflow/runtime.ts +0 -1219
- package/src/workflow/saved.ts +0 -217
- package/src/workflow/task.ts +0 -302
- package/src/workflow/tool-description.ts +0 -200
- package/src/workflow/worker-source.ts +0 -781
- package/src/worktree.ts +0 -205
- package/src/xml.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.19.4-bun.0] - 2026-10-02
|
|
11
|
+
|
|
12
|
+
Bun build, published on the `bun` dist-tag (`pi install npm:@kushalkhemka/opensec-pi-subagents@bun`). Same tools, commands, settings and file locations as 0.19.4.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Ships a prebuilt bundle (`dist-bun/`) with no runtime dependencies: a small ESM loader plus the extension as a CommonJS core loaded with Bun's native `require`, so Pi's loader never transpiles it. `nanoid` is replaced by `crypto.getRandomValues` (same id format), journal keys use `Bun.CryptoHasher` (same keys), croner and the workflow engine and inspector are initialized on first use.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Scheduling an `Agent` call with a cron expression left a live croner timer behind (validation scheduled a no-op job and never stopped it): `pi -p` never exited, and interactive sessions kept one extra 30 s timer per validation.
|
|
19
|
+
- `@agent` mentions on Pi 1.0: the conversation clone assigned the now read-only `agent.state.systemPrompt`, so every clone failed and every mention fell back to a direct start with a warning. The clone now forces the live prompt per request and carries the conversation as session entries.
|
|
20
|
+
- Subagent transcripts (`.output` files) on Pi 1.0 duplicated the prompt and recorded system messages as `toolResult` entries.
|
|
21
|
+
- Workflow script line numbers in stack traces were one line off on Bun.
|
|
22
|
+
- Worktree isolation deleted an agent's edits when the preservation commit failed (e.g. no git identity configured): the worktree was force-removed and the result reported no changes. The commit is retried with a placeholder author, and work that still cannot be saved keeps its worktree, whose path is named in the result.
|
|
23
|
+
|
|
10
24
|
## [0.19.2] - 2026-09-26
|
|
11
25
|
|
|
12
26
|
### Changed
|