@orkestrel/toolbox 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Orkestrel
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # @orkestrel/toolbox
2
+
3
+ Concrete, LLM-callable tools for the `@orkestrel` line. Toolbox supplies workflow
4
+ authoring, workspace editing, sub-agent delegation, terminal prompts, database and
5
+ relation operations, and schema inference over the
6
+ [`@orkestrel/tool`](https://github.com/orkestrel/tool) runtime.
7
+
8
+ The runtime envelope and registry (`ToolInterface`, `ToolCall`, `ToolResult`,
9
+ `createTool`, and `createToolManager`) live in `@orkestrel/tool`. This package supplies
10
+ the concrete handlers that plug into that runtime.
11
+
12
+ ## Install
13
+
14
+ ```sh
15
+ npm install @orkestrel/toolbox
16
+ ```
17
+
18
+ ## Example
19
+
20
+ ```ts
21
+ import { createToolManager } from '@orkestrel/tool'
22
+ import { createWorkspaceTool } from '@orkestrel/toolbox'
23
+
24
+ const tools = createToolManager()
25
+ tools.add(createWorkspaceTool())
26
+
27
+ const result = await tools.execute({
28
+ id: 'write-1',
29
+ name: 'workspace',
30
+ arguments: {
31
+ operation: 'write',
32
+ path: 'notes.txt',
33
+ content: 'hello',
34
+ },
35
+ })
36
+ ```
37
+
38
+ Core tools are published from `@orkestrel/toolbox`; terminal route integration is
39
+ published from `@orkestrel/toolbox/server`.
40
+
41
+ ## Requirements
42
+
43
+ - Node.js >= 22
44
+ - Dual ESM and CommonJS builds
45
+
46
+ ## Guide
47
+
48
+ See [`guides/src/toolbox.md`](guides/src/toolbox.md). The vendored
49
+ [`guides/src/tool.md`](guides/src/tool.md) documents the runtime dependency.
50
+
51
+ ## License
52
+
53
+ MIT © [Orkestrel](https://github.com/orkestrel) — see [LICENSE](./LICENSE).