feat: package Pi extensions as Bun workspaces
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 JB
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,3 @@
|
||||
# @_jb/pi-shared
|
||||
|
||||
Shared runtime utilities used by the `@_jb` Pi extension packages. This is a library package and does not register a Pi extension by itself.
|
||||
@@ -106,7 +106,6 @@ test("child denylist keeps extension and workflow structured tools available", a
|
||||
"subagent_check",
|
||||
"subagent_list",
|
||||
"workflow",
|
||||
"pi_workflow",
|
||||
"ask_user",
|
||||
],
|
||||
);
|
||||
|
||||
@@ -18,7 +18,6 @@ export const CHILD_EXCLUDED_TOOL_NAMES = [
|
||||
"subagent_check",
|
||||
"subagent_list",
|
||||
"workflow",
|
||||
"pi_workflow",
|
||||
"ask_user",
|
||||
] as const;
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "@_jb/pi-shared",
|
||||
"version": "0.1.0",
|
||||
"description": "Shared runtime utilities for @_jb Pi extensions.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"engines": { "node": ">=22.19.0" },
|
||||
"keywords": ["pi-extension", "library"],
|
||||
"files": ["*.ts", "!*.test.ts", "README.md", "LICENSE"],
|
||||
"exports": {
|
||||
"./activity-status": "./activity-status.ts",
|
||||
"./child-session": "./child-session.ts",
|
||||
"./context-utilization": "./context-utilization.ts",
|
||||
"./tool-call-timeout": "./tool-call-timeout.ts"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@earendil-works/pi-coding-agent": "catalog:pi-peer",
|
||||
"typebox": "catalog:pi-peer"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://git.jb.codes/api/packages/jb/npm/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@git.jb.codes:7722/jb/harness-tools.git",
|
||||
"directory": "extensions/shared"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user